diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_config.h b/libraries/AP_InertialSensor/AP_InertialSensor_config.h index 39adfc736f..b5cdae7bd4 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_config.h +++ b/libraries/AP_InertialSensor/AP_InertialSensor_config.h @@ -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