Skip to content

Commit 78425fc

Browse files
committed
Remove stop kwarg and use write_then_readinto.
See adafruit/circuitpython#2082 for details.
1 parent 4e2e2f9 commit 78425fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_adt7410.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _read_register(self, addr, num=1):
110110
self._buf[0] = addr
111111
with self.i2c_device as i2c:
112112
i2c.write_then_readinto(self._buf, self._buf, out_end=1,
113-
in_start=1, in_end=num+1, stop=False)
113+
in_start=1, in_end=num+1)
114114
return self._buf[1:num+1]
115115

116116
def _write_register(self, addr, data=None):

0 commit comments

Comments
 (0)