Skip to content

Commit 34e8b72

Browse files
mrmcwethytannewt
authored andcommitted
changed read_into to readinto
1 parent 2cabef1 commit 34e8b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ds3231.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __init__(self, i2c):
9393
buf[0] = 0x0e
9494
with self.i2c_device as i2c:
9595
i2c.write(buf, end=1, stop=False)
96-
i2c.read_into(buf, start=1)
96+
i2c.readinto(buf, start=1)
9797

9898
if (buf[1] & 0b00011000) != 0b00011000:
9999
raise ValueError("Unable to find DS3231 at i2c address 0x68.")

0 commit comments

Comments
 (0)