Browse Source

AP_InertialSensor: fixed build error

c415-sdk
Andrew Tridgell 4 years ago committed by Peter Barker
parent
commit
7cb7ad3636
  1. 2
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

2
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -1303,7 +1303,7 @@ AP_InertialSensor::_init_gyro() @@ -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

Loading…
Cancel
Save