We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 035d47e commit 4595339Copy full SHA for 4595339
adafruit_ntp.py
@@ -68,8 +68,8 @@ def __init__(
68
@property
69
def datetime(self) -> time.struct_time:
70
"""Current time from NTP server. Accessing this property causes the NTP time request,
71
-unless there has already been a recent request. Raises OSError exception if no response
72
-is received within socket_timeout seconds"""
+ unless there has already been a recent request. Raises OSError exception if no response
+ is received within socket_timeout seconds"""
73
if time.monotonic_ns() > self.next_sync:
74
self._packet[0] = 0b00100011 # Not leap second, NTP version 4, Client mode
75
for i in range(1, len(self._packet)):
0 commit comments