Skip to content

Commit 47d144e

Browse files
authored
Merge pull request #6 from tannewt/remove_stop
Remove stop kwarg and use write_then_readinto.
2 parents 06dfdc6 + f90ed13 commit 47d144e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_mma8451.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _read_into(self, address, buf, count=None):
127127
count = len(buf)
128128
with self._device as i2c:
129129
i2c.write_then_readinto(bytes([address & 0xFF]), buf,
130-
in_end=count, stop=False)
130+
in_end=count)
131131

132132
def _read_u8(self, address):
133133
# Read an 8-bit unsigned value from the specified 8-bit address.

0 commit comments

Comments
 (0)