Skip to content

Commit 5404703

Browse files
committed
Fix non-integer constant
1 parent 37e5a5d commit 5404703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ntp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class NTP: # pylint:disable=too-many-instance-attributes
188188
"""Time to wait before retry after first (network operation) failure."""
189189
MAX_WAIT = int(60 * NS_PER_SEC) # maximum wait time in nanoseconds
190190
"""Maximum time to wait before retry after a failure."""
191-
WAIT_FACTOR = const(1.5) # multiplier for exponential backoff
191+
WAIT_FACTOR = 1.5 # multiplier for exponential backoff
192192
"""Amount (multiplication factor) to increase the wait before retry after each failure."""
193193

194194
MINIMUM_RETRY_DELAY: int = const(60) # 60 seconds

0 commit comments

Comments
 (0)