Skip to content

Commit

Permalink
AP_HAL_ChibiOS: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL
Browse files Browse the repository at this point in the history
.... need the defines on HALs other than ChibiOS
  • Loading branch information
peterbarker committed Oct 25, 2023
1 parent abe03d3 commit 5292fa9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/AP_HAL_ChibiOS/Util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5292fa9

Please sign in to comment.