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:
Master92 2019-09-16 13:15:23 +02:00 committed by KevinOConnor
parent 6333dc2069
commit 4fab93a8b0
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ class ControllerFan:
for stepper in self.steppers:
active |= stepper.is_motor_enabled()
for heater in self.heaters:
_, targetTemp = heater.get_temp(eventtime)
if targetTemp:
_, target_temp = heater.get_temp(eventtime)
if target_temp:
active = True
if active:
self.last_on = 0