Skip to content

Commit 82d2505

Browse files
committed
remove verification check
1 parent 4e90dca commit 82d2505

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

adafruit_ds3231.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,6 @@ class DS3231:
9797
def __init__(self, i2c):
9898
self.i2c_device = I2CDevice(i2c, 0x68)
9999

100-
# Try and verify this is the RTC we expect by checking change in secs
101-
check = self.datetime_register.tm_sec
102-
time.sleep(1.1)
103-
if self.datetime_register.tm_sec == check:
104-
raise ValueError("Unable to find DS3231 at i2c address 0x68.")
105-
106100
@property
107101
def datetime(self):
108102
"""Gets the current date and time or sets the current date and time

0 commit comments

Comments
 (0)