professional fixes

This commit is contained in:
Neythen Treloar
2022-02-22 12:41:30 +00:00
parent 5368e5b09b
commit 73932bcc38
2 changed files with 11 additions and 11 deletions

View File

@@ -206,14 +206,14 @@ def stop():
ticker.sendline('K')
if not displaying_screensaver:
time.sleep(1) # give time for leds to turn off
time.sleep(0.1) # give time for leds to turn off
ticker.close()
else:
screensaver_p.close()
if not ticker_stopped:
time.sleep(1) # give time for leds to turn off
time.sleep(0.1) # give time for leds to turn off
ticker.close()
ticker_stopped = True