mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
MAVLink: fixed throttle display in VFR_HUD
This commit is contained in:
parent
2cc0cd65b4
commit
a69b4c2d7e
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user