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