MAVLink: fixed throttle display in VFR_HUD

This commit is contained in:
Andrew Tridgell 2011-11-21 12:06:14 +11:00
parent 2cc0cd65b4
commit a69b4c2d7e

View File

@ -409,7 +409,7 @@ static void NOINLINE send_vfr_hud(mavlink_channel_t chan)
(float)airspeed / 100.0, (float)airspeed / 100.0,
(float)g_gps->ground_speed / 100.0, (float)g_gps->ground_speed / 100.0,
(dcm.yaw_sensor / 100) % 360, (dcm.yaw_sensor / 100) % 360,
(int)g.channel_throttle.servo_out, (uint16_t)(100 * g.channel_throttle.norm_output()),
current_loc.alt / 100.0, current_loc.alt / 100.0,
0); 0);
} }