Skip to content

Commit

Permalink
Merge pull request #37 from tannewt/remove_stop
Browse files Browse the repository at this point in the history
Thanks for the update!
  • Loading branch information
caternuson authored Aug 22, 2019
2 parents f128d33 + 520e4f0 commit 33bb64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_ads1x15/ads1x15.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,5 @@ def _read_register(self, reg, fast=False):
if fast:
i2c.readinto(self.buf, end=2)
else:
i2c.write_then_readinto(bytearray([reg]), self.buf, in_end=2, stop=False)
i2c.write_then_readinto(bytearray([reg]), self.buf, in_end=2)
return self.buf[0] << 8 | self.buf[1]

0 comments on commit 33bb64c

Please sign in to comment.