From 7cb7ad3636cfa29a687c8a78abb6c28f5cdaa3d5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Jan 2021 10:31:47 +1100 Subject: [PATCH] AP_InertialSensor: fixed build error --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 98c0075683..3083153e5f 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -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