remove more dead code
This commit is contained in:
parent
97bab2a248
commit
bee27bed29
@ -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))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user