diff --git a/libraries/AP_Tuning/AP_Tuning.cpp b/libraries/AP_Tuning/AP_Tuning.cpp index 0e8ddf1874..9f7197f3dc 100644 --- a/libraries/AP_Tuning/AP_Tuning.cpp +++ b/libraries/AP_Tuning/AP_Tuning.cpp @@ -214,8 +214,8 @@ void AP_Tuning::Log_Write_Parameter_Tuning(float value) AP_HAL::micros64(), parmset, current_parm, - value, - center_value); + (double)value, + (double)center_value); } /*