Arduplane: fix implicit cast to double warning in quadplane

This commit is contained in:
Pierre Kancir 2017-06-14 12:32:03 +02:00 committed by Francisco Ferreira
parent 914bc53100
commit 5d0972f589

View File

@ -792,7 +792,7 @@ void QuadPlane::check_yaw_reset(void)
if (new_ekfYawReset_ms != ekfYawReset_ms) {
attitude_control->shift_ef_yaw_target(degrees(yaw_angle_change_rad) * 100);
ekfYawReset_ms = new_ekfYawReset_ms;
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "EKF yaw reset %.2f", degrees(yaw_angle_change_rad));
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "EKF yaw reset %.2f", (double)degrees(yaw_angle_change_rad));
}
}