mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: rename within_min_dz to in_min_dz for consistency
... consistency with in_trim_dz
This commit is contained in:
parent
30c08c1e7c
commit
302c8e4b98
|
@ -430,7 +430,7 @@ bool Plane::throttle_at_zero(void) const
|
|||
to center stick area in conjunction with sprung throttle, cannot use in_trim, must use rc_min
|
||||
*/
|
||||
if (((!(g2.flight_options & FlightOptions::CENTER_THROTTLE_TRIM) && channel_throttle->in_trim_dz()) ||
|
||||
(g2.flight_options & FlightOptions::CENTER_THROTTLE_TRIM && channel_throttle->within_min_dz()))) {
|
||||
(g2.flight_options & FlightOptions::CENTER_THROTTLE_TRIM && channel_throttle->in_min_dz()))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue