Skip to content

Commit 2f4ed99

Browse files
authored
Merge pull request #1 from colindomoney/fix_faulty_manual_control
Update automatic.py
2 parents 52361aa + cb77fab commit 2f4ed99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/automatic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def held_handler():
146146
elif t <= args.off_threshold:
147147
enable = False
148148

149-
if set_fan(enable):
150-
last_change = t
149+
if set_fan(enable):
150+
last_change = t
151151

152152
if not args.noled:
153153
update_led_temperature(t)

0 commit comments

Comments
 (0)