AP_InertialSensor: fixed build error

This commit is contained in:
Andrew Tridgell 2021-01-14 10:31:47 +11:00 committed by Peter Barker
parent 2e9f61fe49
commit 7cb7ad3636

View File

@ -1303,7 +1303,7 @@ AP_InertialSensor::_init_gyro()
float best_diff[INS_MAX_INSTANCES];
bool converged[INS_MAX_INSTANCES];
#if HAL_INS_TEMPERATURE_CAL_ENABLE
float start_temperature[INS_MAX_INSTANCES];
float start_temperature[INS_MAX_INSTANCES] {};
#endif
// exit immediately if calibration is already in progress