AP_HAL: add BMP390 option for navigator

This commit is contained in:
Willian Galvani 2024-07-31 21:46:19 -03:00 committed by Andrew Tridgell
parent 52bed8d542
commit f17cca848f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@
#define HAL_MAG_PROBE1 PROBE_MAG_SPI(MMC5XX3, "mmc5983", false, ROTATION_YAW_180) #define HAL_MAG_PROBE1 PROBE_MAG_SPI(MMC5XX3, "mmc5983", false, ROTATION_YAW_180)
#define HAL_MAG_PROBE2 PROBE_MAG_I2C(AK09916, 1, 0X0c, false, ROTATION_YAW_270) #define HAL_MAG_PROBE2 PROBE_MAG_I2C(AK09916, 1, 0X0c, false, ROTATION_YAW_270)
#define HAL_MAG_PROBE_LIST HAL_MAG_PROBE1; HAL_MAG_PROBE2 #define HAL_MAG_PROBE_LIST HAL_MAG_PROBE1; HAL_MAG_PROBE2
#define HAL_BARO_PROBE_LIST PROBE_BARO_I2C(BMP280, 1, 0x76) #define HAL_BARO_PROBE_LIST PROBE_BARO_I2C(BMP280, 1, 0x76); PROBE_BARO_I2C(BMP388, 1, 0x76)
#define HAL_BARO_EXTERNAL_BUS_DEFAULT 6 #define HAL_BARO_EXTERNAL_BUS_DEFAULT 6
#define HAL_PROBE_EXTERNAL_I2C_COMPASSES #define HAL_PROBE_EXTERNAL_I2C_COMPASSES
// I2C6 is the only i2c one exposed on a header // I2C6 is the only i2c one exposed on a header