We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 061c040 + ad2700c commit 29fd429Copy full SHA for 29fd429
adafruit_mprls.py
@@ -123,7 +123,7 @@ def _read_data(self):
123
# check other status bits
124
if self._buffer[0] & 0x01:
125
raise RuntimeError("Internal math saturation")
126
- if self._buffer[2] & 0x01:
+ if self._buffer[0] & 0x04:
127
raise RuntimeError("Integrity failure")
128
129
# All is good, calculate the PSI and convert to hPA
0 commit comments