mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
Compass: fix HAL_F4light compilation errors
This commit is contained in:
parent
eb0343649b
commit
a05c79f1d8
@ -923,8 +923,10 @@ void Compass::_detect_backends(void)
|
||||
ROTATION_NONE),
|
||||
AP_Compass_IST8310::name, true);
|
||||
|
||||
#ifdef HAL_COMPASS_BMM150_I2C_ADDR
|
||||
ADD_BACKEND(DRIVER_BMM150, AP_Compass_BMM150::probe(*this, hal.i2c_mgr->get_device(BOARD_I2C_BUS_EXT, HAL_COMPASS_BMM150_I2C_ADDR)),
|
||||
AP_Compass_BMM150::name, true);
|
||||
#endif
|
||||
|
||||
ADD_BACKEND(DRIVER_MAG3110, AP_Compass_MAG3110::probe(*this, hal.i2c_mgr->get_device(BOARD_I2C_BUS_EXT, HAL_MAG3110_I2C_ADDR), ROTATION_NONE),
|
||||
AP_Compass_MAG3110::name, true);
|
||||
|
Loading…
Reference in New Issue
Block a user