diff options
Diffstat (limited to 'src/drivers/hmc5883/hmc5883_i2c.cpp')
-rw-r--r-- | src/drivers/hmc5883/hmc5883_i2c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/hmc5883/hmc5883_i2c.cpp b/src/drivers/hmc5883/hmc5883_i2c.cpp index 2d3e8fa08..782ea62fe 100644 --- a/src/drivers/hmc5883/hmc5883_i2c.cpp +++ b/src/drivers/hmc5883/hmc5883_i2c.cpp @@ -88,7 +88,7 @@ HMC5883_I2C_interface(int bus) } HMC5883_I2C::HMC5883_I2C(int bus) : - I2C("HMC5883_I2C", nullptr, bus, 0, 400000) + I2C("HMC5883_I2C", nullptr, bus, HMC5883L_ADDRESS, 400000) { } |