AP_InertialSensor: 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:
Peter Barker 2023-04-14 13:47:52 +10:00 committed by Peter Barker
parent 14c839780a
commit 6e1cd839d8
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
#define DEFAULT_IMU_LOG_BAT_MASK 0
#ifndef HAL_INS_TEMPERATURE_CAL_ENABLE
#define HAL_INS_TEMPERATURE_CAL_ENABLE !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#define HAL_INS_TEMPERATURE_CAL_ENABLE BOARD_FLASH_SIZE > 1024
#endif
#ifndef HAL_INS_NUM_HARMONIC_NOTCH_FILTERS