Skip to content

Commit 0ff3dcb

Browse files
authored
Merge pull request #26 from chrisbailey4/master
Fix bug in reset that wasn't setting status properly
2 parents d370d3e + 852d314 commit 0ff3dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_mlx90393.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def reset(self):
386386
if self._debug:
387387
print("Resetting sensor")
388388
time.sleep(2)
389-
self._status_last = self._transceive(bytes([_CMD_RT]))
389+
self._transceive(bytes([_CMD_RT]))
390390
# burn a read post reset
391391
try:
392392
self.magnetic

0 commit comments

Comments
 (0)