Skip to content

Commit

Permalink
Merge pull request pimoroni#81 from colindomoney/master
Browse files Browse the repository at this point in the history
Fix issue with manual switch mode
  • Loading branch information
Gadgetoid authored Apr 27, 2020
2 parents 52361aa + 2f4ed99 commit c8ea18b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/automatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def held_handler():
elif t <= args.off_threshold:
enable = False

if set_fan(enable):
last_change = t
if set_fan(enable):
last_change = t

if not args.noled:
update_led_temperature(t)
Expand Down

0 comments on commit c8ea18b

Please sign in to comment.