From d55401aa1806d1afd42e703d8748c9a74e843ada Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Tue, 17 May 2016 16:32:10 -0700 Subject: [PATCH] AP_Tuning: fixed float->double promotion compiler warning --- libraries/AP_Tuning/AP_Tuning.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /*