Skip to content

Commit

Permalink
AP_HAL: 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 6861550 commit 2fd6fe7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_HAL/AP_HAL_Boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down

0 comments on commit 2fd6fe7

Please sign in to comment.