Skip to content

Commit 4d84d8a

Browse files
authored
Merge pull request #3 from tannewt/remove_stop
Remove stop kwarg and use write_then_readinto.
2 parents 4e2e2f9 + 78425fc commit 4d84d8a

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)