Skip to content

Commit

Permalink
Try beep_activate on "interesting" result
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcomm committed Feb 22, 2024
1 parent f9ae8b7 commit 9a5619d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wificom/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def execute_digirom(rom, do_led=True):
mqtt.handle_result(result)
if do_led:
if "r:" in result or "Error" in result:
ui.beep_activate()
time.sleep(0.2)
else:
time.sleep(0.05)
Expand Down

0 comments on commit 9a5619d

Please sign in to comment.