mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
AP_Compass: enable LIS3MDL and friends
This commit is contained in:
parent
f7ac15800b
commit
39ee49501f
@ -1006,7 +1006,6 @@ void Compass::_probe_external_i2c_compasses(void)
|
||||
}
|
||||
}
|
||||
|
||||
#if !HAL_MINIMIZE_FEATURES
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
// AK09916 on ICM20948
|
||||
FOREACH_I2C_EXTERNAL(i) {
|
||||
@ -1096,8 +1095,6 @@ void Compass::_probe_external_i2c_compasses(void)
|
||||
ADD_BACKEND(DRIVER_RM3100, AP_Compass_RM3100::probe(GET_I2C_DEVICE(i, HAL_COMPASS_RM3100_I2C_ADDR),
|
||||
all_external, ROTATION_NONE));
|
||||
}
|
||||
|
||||
#endif // HAL_MINIMIZE_FEATURES
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user