Browse Source

Plane: allow negative VFR_HUD throttle

c415-sdk
Andrew Tridgell 5 years ago
parent
commit
6d4f4d7a3b
  1. 2
      ArduPlane/GCS_Mavlink.cpp

2
ArduPlane/GCS_Mavlink.cpp

@ -257,7 +257,7 @@ float GCS_MAVLINK_Plane::vfr_hud_airspeed() const @@ -257,7 +257,7 @@ float GCS_MAVLINK_Plane::vfr_hud_airspeed() const
int16_t GCS_MAVLINK_Plane::vfr_hud_throttle() const
{
return abs(plane.throttle_percentage());
return plane.throttle_percentage();
}
float GCS_MAVLINK_Plane::vfr_hud_climbrate() const

Loading…
Cancel
Save