From 2fd6fe740d914419b4ef389955f3c2a4c4bc7736 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Oct 2023 18:43:58 +1100 Subject: [PATCH] AP_HAL: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL .... need the defines on HALs other than ChibiOS --- libraries/AP_HAL/AP_HAL_Boards.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 027b8f4a07bd12..7337e3dcbefd12 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -303,6 +303,10 @@ #endif #endif +#ifndef AP_BOOTLOADER_FLASHING_ENABLED +#define AP_BOOTLOADER_FLASHING_ENABLED 0 +#endif + #ifndef HAL_HNF_MAX_FILTERS // On an F7 The difference in CPU load between 1 notch and 24 notches is about 2% // The difference in CPU load between 1Khz backend and 2Khz backend is about 10%