mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-20 06:45:14 +03:00
Braking enabled only on a switch
This commit is contained in:
parent
d1b064d4b8
commit
2fa3132e9a
3 changed files with 10 additions and 0 deletions
|
@ -1976,6 +1976,7 @@ static bool adjustPositionFromRCInput(void)
|
|||
* Process states only for POSHOLD. In any other case we go back to old routines
|
||||
*/
|
||||
if (
|
||||
IS_RC_MODE_ACTIVE(BOXBRAKING) &&
|
||||
navConfig()->general.flags.user_control_mode == NAV_GPS_CRUISE &&
|
||||
navConfig()->mc.braking_speed_threshold > 0 &&
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue