Skip to content

Commit 520e4f0

Browse files
committed
Remove stop kwarg and use write_then_readinto.
See adafruit/circuitpython#2082 for details.
1 parent f128d33 commit 520e4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ads1x15/ads1x15.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ def _read_register(self, reg, fast=False):
199199
if fast:
200200
i2c.readinto(self.buf, end=2)
201201
else:
202-
i2c.write_then_readinto(bytearray([reg]), self.buf, in_end=2, stop=False)
202+
i2c.write_then_readinto(bytearray([reg]), self.buf, in_end=2)
203203
return self.buf[0] << 8 | self.buf[1]

0 commit comments

Comments
 (0)