Skip to content

Commit 9dcd5f0

Browse files
committed
typo, v2 api uses _address
1 parent 6c84b7a commit 9dcd5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/i2c/drivers/drvScd4x.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class drvScd4x : public drvBase {
6060
/*******************************************************************************/
6161
bool begin() override {
6262
_scd = new SensirionI2cScd4x();
63-
_scd->begin(*_i2c, _sensorAddress);
63+
_scd->begin(*_i2c, _address);
6464

6565
// stop previously started measurement
6666
if (_scd->stopPeriodicMeasurement()) {

0 commit comments

Comments
 (0)