From eeac211b1d0d83d4e0c64c9f874c645f3a1d5b51 Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Thu, 26 Jul 2012 20:21:17 +0800 Subject: [PATCH] AP Fix Hil Airspeed calc in m/s --- ArduPlane/GCS_Mavlink.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/GCS_Mavlink.pde b/ArduPlane/GCS_Mavlink.pde index fc09eb67d1..84a4e483c4 100644 --- a/ArduPlane/GCS_Mavlink.pde +++ b/ArduPlane/GCS_Mavlink.pde @@ -1654,7 +1654,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) mavlink_msg_vfr_hud_decode(msg, &packet); // set airspeed - airspeed.set_HIL(100*packet.airspeed); + airspeed.set_HIL(packet.airspeed); break; }