Plane: compiler warning in print: float to double promotion

This commit is contained in:
Tom Pittenger 2016-06-13 13:34:40 -07:00
parent 107691b7a7
commit b6196dfa92

View File

@ -889,7 +889,7 @@ void QuadPlane::update_transition(void)
plane.is_flying())) {
// the quad should provide some assistance to the plane
if (transition_state != TRANSITION_AIRSPEED_WAIT) {
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "Transition started airspeed %.1f", aspeed);
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "Transition started airspeed %.1f", (double)aspeed);
}
transition_state = TRANSITION_AIRSPEED_WAIT;
transition_start_ms = millis();