Skip to content

Commit 9a4dbe7

Browse files
committed
fix invalid param name
1 parent 8ca6173 commit 9a4dbe7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Usage Example
7070
wifi.radio.connect(wifi_ssid, wifi_password)
7171
7272
pool = adafruit_connection_manager.get_radio_socketpool(wifi.radio)
73-
ntp = adafruit_ntp.NTP(pool, tz_offset=0, cache_offset=3600)
73+
ntp = adafruit_ntp.NTP(pool, tz_offset=0, cache_seconds=3600)
7474
7575
while True:
7676
print(ntp.datetime)

examples/ntp_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
wifi.radio.connect(secrets["ssid"], secrets["password"])
2121

2222
pool = socketpool.SocketPool(wifi.radio)
23-
ntp = adafruit_ntp.NTP(pool, tz_offset=0, cache_offset=3600)
23+
ntp = adafruit_ntp.NTP(pool, tz_offset=0, cache_seconds=3600)
2424

2525
while True:
2626
print(ntp.datetime)

0 commit comments

Comments
 (0)