From 9383c43ab90da70b0b0d2d9d5095f2d30f2ff663 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Feb 2022 15:28:14 +1100 Subject: [PATCH] AP_BoardConfig: include hal.h --- libraries/AP_BoardConfig/board_drivers.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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