mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Baro: support ChibiOS FMUv4
This commit is contained in:
parent
02c3bea5a5
commit
0b6659b36a
@ -410,7 +410,7 @@ void AP_Baro::init(void)
|
|||||||
} while (added);
|
} while (added);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAL_BARO_DEFAULT == HAL_BARO_PX4 || HAL_BARO_DEFAULT == HAL_BARO_VRBRAIN || defined(HAL_CHIBIOS_ARCH_FMUV3)
|
#if AP_FEATURE_BOARD_DETECT
|
||||||
switch (AP_BoardConfig::get_board_type()) {
|
switch (AP_BoardConfig::get_board_type()) {
|
||||||
case AP_BoardConfig::PX4_BOARD_PX4V1:
|
case AP_BoardConfig::PX4_BOARD_PX4V1:
|
||||||
#ifdef HAL_BARO_MS5611_I2C_BUS
|
#ifdef HAL_BARO_MS5611_I2C_BUS
|
||||||
|
Loading…
Reference in New Issue
Block a user