mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Baro: support ChibiOS
This commit is contained in:
parent
f8bea3af14
commit
c8c563f90d
@ -410,7 +410,7 @@ void AP_Baro::init(void)
|
||||
} while (added);
|
||||
#endif
|
||||
|
||||
#if HAL_BARO_DEFAULT == HAL_BARO_PX4 || HAL_BARO_DEFAULT == HAL_BARO_VRBRAIN
|
||||
#if HAL_BARO_DEFAULT == HAL_BARO_PX4 || HAL_BARO_DEFAULT == HAL_BARO_VRBRAIN || defined(HAL_CHIBIOS_ARCH_FMUV3)
|
||||
switch (AP_BoardConfig::get_board_type()) {
|
||||
case AP_BoardConfig::PX4_BOARD_PX4V1:
|
||||
#ifdef HAL_BARO_MS5611_I2C_BUS
|
||||
|
@ -14,7 +14,6 @@
|
||||
*/
|
||||
#include "AP_Baro_LPS25H.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <utility>
|
||||
#include <stdio.h>
|
||||
extern const AP_HAL::HAL &hal;
|
||||
|
Loading…
Reference in New Issue
Block a user