diff --git a/lib/oven.py b/lib/oven.py index d7938f8..e38be34 100644 --- a/lib/oven.py +++ b/lib/oven.py @@ -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))