mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AC_AttitudeControl: fix compile warning float to double promotion in string conversion
This commit is contained in:
parent
da5ce37bbc
commit
64c2510be9
@ -39,9 +39,9 @@ void AC_AttitudeControl::control_monitor_log(void)
|
||||
{
|
||||
DataFlash_Class::instance()->Log_Write("CTRL", "TimeUS,RMSRoll,RMSPitch,RMSYaw", "Qfff",
|
||||
AP_HAL::micros64(),
|
||||
sqrtf(_control_monitor.rms_roll),
|
||||
sqrtf(_control_monitor.rms_pitch),
|
||||
sqrtf(_control_monitor.rms_yaw));
|
||||
(double)sqrtf(_control_monitor.rms_roll),
|
||||
(double)sqrtf(_control_monitor.rms_pitch),
|
||||
(double)sqrtf(_control_monitor.rms_yaw));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user