Skip to content

Commit 1c801d4

Browse files
authored
remove while True
1 parent 3b31b06 commit 1c801d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/ntp_connection_manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@
3737
# adjust tz_offset for locale...
3838
ntp = adafruit_ntp.NTP(socket, tz_offset=-5)
3939

40-
while True:
41-
print(ntp.datetime)
42-
time.sleep(5)
40+
print(ntp.datetime)

0 commit comments

Comments
 (0)