1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00

Add box mode to disable stick commands

Adds a `STICK COMMAND DISABLE SW` mode used to prevent inadvertant triggering of controls, calibrations, or settings changes. Useful for USB HID mode when using the flight controller as a joystick (and auto-detect doesn't work), in "team" or "relay" racing where multiple quads might be bound to the same transmitter, or just in general if the user wants prevent stick commands.

Will also prevent stick arming when the mode is active (but not stick disarming).
This commit is contained in:
Bruce Luckcuck 2020-09-15 12:51:19 -04:00
parent de35df8e07
commit 19ece68555
5 changed files with 8 additions and 4 deletions

View file

@ -75,6 +75,7 @@ typedef enum {
BOXVTXCONTROLDISABLE,
BOXLAUNCHCONTROL,
BOXMSPOVERRIDE,
BOXSTICKCOMMANDDISABLE,
CHECKBOX_ITEM_COUNT
} boxId_e;