AP_HAL: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL

.... need the defines on HALs other than ChibiOS
This commit is contained in:
Peter Barker 2023-10-25 18:43:58 +11:00 committed by Peter Barker
parent f70a510c6b
commit 9c759c3e61

View File

@ -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%