Skip to content

Commit

Permalink
Merge pull request #813 from andrewjw/andrewjw-patch-1
Browse files Browse the repository at this point in the history
fix: Only set time if the wlan is connected
  • Loading branch information
Gadgetoid authored Jan 16, 2024
2 parents 9ddbb17 + 14c7f6c commit 5bd5334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropython/examples/interstate75/75W/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def sync_time():

redraw_display_if_reqd()

if max_wait > 0:
if wlan.status() == 3:
print("Connected")

try:
Expand Down

0 comments on commit 5bd5334

Please sign in to comment.