ArduPlane: rename within_min_dz to in_min_dz for consistency

... consistency with in_trim_dz
This commit is contained in:
Peter Barker 2022-03-05 16:10:22 +11:00 committed by Andrew Tridgell
parent 30c08c1e7c
commit 302c8e4b98
1 changed files with 1 additions and 1 deletions

View File

@ -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;