We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b73c0b commit aa09c15Copy full SHA for aa09c15
libraries/AP_Tuning/AP_Tuning.cpp
@@ -228,7 +228,7 @@ void AP_Tuning::check_input(uint8_t flightmode)
228
need_revert |= (1U << current_parm_index);
229
set_value(current_parm, new_value);
230
231
- if ( fabs(new_value-old_value) > (0.05 * old_value) ) {
+ if ( fabsf(new_value-old_value) > (0.05 * old_value) ) {
232
old_value = new_value;
233
GCS_SEND_TEXT(MAV_SEVERITY_INFO,
234
"Tuning %s%s%0.4f",
0 commit comments