mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Plane: compile warning fix
/ardupilot/ArduPlane/quadplane.cpp:773:107: warning: implicit conversion from 'float' to 'double' when passing argument to function [-Wdouble-promotion]
This commit is contained in:
parent
0b26a34f22
commit
d0edfa5dfa
@ -805,7 +805,7 @@ void QuadPlane::update_transition(void)
|
||||
if (have_airspeed && aspeed > plane.aparm.airspeed_min && !assisted_flight) {
|
||||
transition_start_ms = millis();
|
||||
transition_state = TRANSITION_TIMER;
|
||||
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "Transition airspeed reached %.1f", aspeed);
|
||||
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "Transition airspeed reached %.1f", (double)aspeed);
|
||||
}
|
||||
assisted_flight = true;
|
||||
hold_hover(assist_climb_rate_cms());
|
||||
|
Loading…
Reference in New Issue
Block a user