diff --git a/libraries/AP_BoardConfig/board_drivers.cpp b/libraries/AP_BoardConfig/board_drivers.cpp index 66fa698587..bd58df7b10 100644 --- a/libraries/AP_BoardConfig/board_drivers.cpp +++ b/libraries/AP_BoardConfig/board_drivers.cpp @@ -13,10 +13,14 @@ along with this program. If not, see . */ /* - * AP_BoardConfig - px4 driver loading and setup + * AP_BoardConfig - driver loading and setup */ + #include +#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS +#include +#endif #include "AP_BoardConfig.h" #include #include