mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_BattMonitor: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
This commit is contained in:
parent
7bbeab7aaa
commit
e363d6dfa5
@ -23,7 +23,7 @@
|
||||
#define AP_BATT_MONITOR_RES_EST_TC_1 0.5f
|
||||
#define AP_BATT_MONITOR_RES_EST_TC_2 0.1f
|
||||
|
||||
#if !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
||||
#if BOARD_FLASH_SIZE > 1024
|
||||
#define AP_BATT_MONITOR_CELLS_MAX 14
|
||||
#else
|
||||
#define AP_BATT_MONITOR_CELLS_MAX 12
|
||||
|
Loading…
Reference in New Issue
Block a user