Skip to content

Commit

Permalink
AC_Autorotation: remove array zeroing of sink rate derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferruccio1984 authored and bnsgeyer committed Jan 25, 2024
1 parent 21d9675 commit 6678076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_Autorotation/AC_Autorotation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6678076

Please sign in to comment.