controller_fan: Use snake-case for all variables and function-names
Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
This commit is contained in:
parent
6333dc2069
commit
4fab93a8b0
|
@ -36,8 +36,8 @@ class ControllerFan:
|
||||||
for stepper in self.steppers:
|
for stepper in self.steppers:
|
||||||
active |= stepper.is_motor_enabled()
|
active |= stepper.is_motor_enabled()
|
||||||
for heater in self.heaters:
|
for heater in self.heaters:
|
||||||
_, targetTemp = heater.get_temp(eventtime)
|
_, target_temp = heater.get_temp(eventtime)
|
||||||
if targetTemp:
|
if target_temp:
|
||||||
active = True
|
active = True
|
||||||
if active:
|
if active:
|
||||||
self.last_on = 0
|
self.last_on = 0
|
||||||
|
|
Loading…
Reference in New Issue