mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Arduplane: fix implicit cast to double warning in quadplane
This commit is contained in:
parent
914bc53100
commit
5d0972f589
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user