Skip to content

Commit

Permalink
typo, v2 api uses _address
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Feb 13, 2025
1 parent 6c84b7a commit 9dcd5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/i2c/drivers/drvScd4x.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class drvScd4x : public drvBase {
/*******************************************************************************/
bool begin() override {
_scd = new SensirionI2cScd4x();
_scd->begin(*_i2c, _sensorAddress);
_scd->begin(*_i2c, _address);

// stop previously started measurement
if (_scd->stopPeriodicMeasurement()) {
Expand Down

0 comments on commit 9dcd5f0

Please sign in to comment.