remove more dead code

This commit is contained in:
Andrew de Quincey 2021-05-26 18:30:42 +01:00
parent 97bab2a248
commit bee27bed29

View File

@ -389,11 +389,10 @@ class RealOven(Oven):
super().reset()
self.output.cool(0)
def heat_then_cool(self, catching_up):
def heat_then_cool(self):
pid = self.pid.compute(self.target,
self.board.temp_sensor.temperature +
config.thermocouple_offset,
catching_up)
config.thermocouple_offset)
heat_on = float(self.time_step * pid)
heat_off = float(self.time_step * (1 - pid))