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.
1 parent 861d677 commit c2fac61Copy full SHA for c2fac61
src/components/i2c/drivers/WipperSnapper_I2C_Driver_SCD4X.h
@@ -52,7 +52,7 @@ class WipperSnapper_I2C_Driver_SCD4X : public WipperSnapper_I2C_Driver {
52
/*******************************************************************************/
53
bool begin() {
54
_scd = new SensirionI2cScd4x();
55
- _scd->begin(*_i2c);
+ _scd->begin(*_i2c, _sensorAddress);
56
57
// stop previously started measurement
58
if (_scd->stopPeriodicMeasurement())
@@ -78,7 +78,7 @@ class WipperSnapper_I2C_Driver_SCD4X : public WipperSnapper_I2C_Driver {
78
delay(100);
79
80
// Check if data is ready
81
- error = _scd->getDataReadyFlag(isDataReady);
+ error = _scd->getDataReadyStatus(isDataReady);
82
if (error || !isDataReady)
83
return false;
84
0 commit comments