Skip to content

Commit

Permalink
Merge pull request #26 from chrisbailey4/master
Browse files Browse the repository at this point in the history
Fix bug in reset that wasn't setting status properly
  • Loading branch information
caternuson committed Jan 21, 2021
2 parents d370d3e + 852d314 commit 0ff3dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_mlx90393.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def reset(self):
if self._debug:
print("Resetting sensor")
time.sleep(2)
self._status_last = self._transceive(bytes([_CMD_RT]))
self._transceive(bytes([_CMD_RT]))
# burn a read post reset
try:
self.magnetic
Expand Down

0 comments on commit 0ff3dcb

Please sign in to comment.