Skip to content

Commit

Permalink
Add typo
Browse files Browse the repository at this point in the history
I'm sorry
  • Loading branch information
TristanWarder committed May 13, 2024
1 parent f23509d commit 73b1105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p1am_200_helpers/ntp_rtc_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""
import struct
import time
from adafruit_wiznet5k.adafruit_wiznet5k_socketpool import SocketPoolConstants
from adafruit_wiznet5k.adafruit_wiznet5k_socketpool import SocketPoolContants

class NTPException(Exception):
"""Exception for NTP errors"""
Expand Down Expand Up @@ -54,7 +54,7 @@ def get_epoch(self):
recv_data = None
attempts = 0

client = self.socketpool.socket(type=SocketPoolConstants.SOCK_DGRAM)
client = self.socketpool.socket(type=SocketPoolContants.SOCK_DGRAM)
client.settimeout(self.timeout)

while attempts < self.retries:
Expand Down

0 comments on commit 73b1105

Please sign in to comment.