AP_HAL_ChibiOS: 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 988d917384
commit f70a510c6b

View File

@ -30,10 +30,6 @@ class ExpandingString;
#define HAL_ENABLE_SAVE_PERSISTENT_PARAMS (defined(STM32F7) || defined(STM32H7))
#endif
#ifndef AP_BOOTLOADER_FLASHING_ENABLED
#define AP_BOOTLOADER_FLASHING_ENABLED 0
#endif
class ChibiOS::Util : public AP_HAL::Util {
public:
static Util *from(AP_HAL::Util *util) {