diff --git a/src/drivers/device/i2c.h b/src/drivers/device/i2c.h index 206e71ddcc..8518596ea6 100644 --- a/src/drivers/device/i2c.h +++ b/src/drivers/device/i2c.h @@ -132,6 +132,7 @@ protected: */ void set_address(uint16_t address) { _address = address; + _device_id.devid_s.address = _address; } private: