mirror of https://github.com/ArduPilot/ardupilot
Plane: resolve compiler warning while using send_text
non-functional change
This commit is contained in:
parent
2073d65975
commit
667cdcdfcf
|
@ -1757,7 +1757,7 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg)
|
|||
// just do altitude for now
|
||||
plane.next_WP_loc.alt += -packet.z*100.0;
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Change alt to %.1f",
|
||||
(plane.next_WP_loc.alt - plane.home.alt)*0.01);
|
||||
(double)((plane.next_WP_loc.alt - plane.home.alt)*0.01));
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue