We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea17ea7 + 9ecae75 commit 091a582Copy full SHA for 091a582
adafruit_scd4x.py
@@ -208,7 +208,7 @@ def data_ready(self):
208
"""Check the sensor to see if new data is available"""
209
self._send_command(_SCD4X_DATAREADY, cmd_delay=0.001)
210
self._read_reply(self._buffer, 3)
211
- return not ((self._buffer[0] & 0x03 == 0) and (self._buffer[1] == 0))
+ return not ((self._buffer[0] & 0x07 == 0) and (self._buffer[1] == 0))
212
213
@property
214
def serial_number(self):
0 commit comments