diff --git a/adafruit_mma8451.py b/adafruit_mma8451.py index a5c5256..74e87dc 100644 --- a/adafruit_mma8451.py +++ b/adafruit_mma8451.py @@ -127,7 +127,7 @@ def _read_into(self, address, buf, count=None): count = len(buf) with self._device as i2c: i2c.write_then_readinto(bytes([address & 0xFF]), buf, - in_end=count, stop=False) + in_end=count) def _read_u8(self, address): # Read an 8-bit unsigned value from the specified 8-bit address.