diff --git a/libraries/AP_BoardConfig/AP_BoardConfig.cpp b/libraries/AP_BoardConfig/AP_BoardConfig.cpp index 2b600bb9f7..12c1be99a7 100644 --- a/libraries/AP_BoardConfig/AP_BoardConfig.cpp +++ b/libraries/AP_BoardConfig/AP_BoardConfig.cpp @@ -32,7 +32,9 @@ #endif #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS +#ifndef BOARD_SAFETY_ENABLE_DEFAULT # define BOARD_SAFETY_ENABLE_DEFAULT 1 +#endif #ifndef BOARD_SER1_RTSCTS_DEFAULT # define BOARD_SER1_RTSCTS_DEFAULT 2 #endif