diff --git a/libraries/AC_Autorotation/AC_Autorotation.h b/libraries/AC_Autorotation/AC_Autorotation.h index 99a571ea2a1d6a..30ba4fb0dbec22 100644 --- a/libraries/AC_Autorotation/AC_Autorotation.h +++ b/libraries/AC_Autorotation/AC_Autorotation.h @@ -176,7 +176,7 @@ class AC_Autorotation float _avg_sink_deriv; // Averaged derivative of rate of descent float _avg_sink_deriv_sum; // Sum of averaged sink rate derivative int16_t _index_sink_rate; // Index for sink rate derivative rolling average - float _curr_sink_deriv[20]{}; // Array for storing sink rate derivatives + float _curr_sink_deriv[20]; // Array for storing sink rate derivatives bool _flare_complete; // Flare completed bool _flare_update_check; // Check for flare altitude updating