kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Merge pull request #813 from andrewjw/andrewjw-patch-1
fix: Only set time if the wlan is connectedpull/897/head
commit
5bd5334379
|
@ -129,7 +129,7 @@ def sync_time():
|
|||
|
||||
redraw_display_if_reqd()
|
||||
|
||||
if max_wait > 0:
|
||||
if wlan.status() == 3:
|
||||
print("Connected")
|
||||
|
||||
try:
|
||||
|
|
Ładowanie…
Reference in New Issue