Skip to content

Commit 3717a04

Browse files
committed
Remove delay from start_periodic_measurement and start_low_periodic_measurement.
1 parent 52951e1 commit 3717a04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_scd4x.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ def stop_periodic_measurement(self):
230230

231231
def start_periodic_measurement(self):
232232
"""Put sensor into working mode, about 5s per measurement"""
233-
self._send_command(_SCD4X_STARTPERIODICMEASUREMENT, cmd_delay=0.01)
233+
self._send_command(_SCD4X_STARTPERIODICMEASUREMENT)
234234

235235
def start_low_periodic_measurement(self):
236236
"""Put sensor into low power working mode, about 30s per measurement"""
237-
self._send_command(_SCD4X_STARTLOWPOWERPERIODICMEASUREMENT, cmd_delay=0.01)
237+
self._send_command(_SCD4X_STARTLOWPOWERPERIODICMEASUREMENT)
238238

239239
def persist_settings(self):
240240
"""Save temperature offset, altitude offset, and selfcal enable settings to EEPROM"""

0 commit comments

Comments
 (0)