aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
diff options
context:
space:
mode:
authorMaster92 <Nils.Friedchen@googlemail.com>2019-09-16 13:15:23 +0200
committerKevinOConnor <kevin@koconnor.net>2019-09-17 11:52:03 -0400
commit4fab93a8b0210e43a97afc530a9f760a28d12a98 (patch)
tree35c5bb2a433c915ce51a8f2731985582aa9e6c6a /klippy/extras
parent6333dc206938f88785fe1a0813369ce41476d397 (diff)
downloadkutter-4fab93a8b0210e43a97afc530a9f760a28d12a98.tar.gz
kutter-4fab93a8b0210e43a97afc530a9f760a28d12a98.tar.xz
kutter-4fab93a8b0210e43a97afc530a9f760a28d12a98.zip
controller_fan: Use snake-case for all variables and function-names
Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
Diffstat (limited to 'klippy/extras')
-rw-r--r--klippy/extras/controller_fan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/controller_fan.py b/klippy/extras/controller_fan.py
index 0a1adf7d..81d375f1 100644
--- a/klippy/extras/controller_fan.py
+++ b/klippy/extras/controller_fan.py
@@ -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