1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Added 'VTX CONTROL DISABLE' mode.

This commit is contained in:
mikeller 2018-09-02 16:19:12 +12:00
parent 09b52975fb
commit 2fffaac3df
5 changed files with 41 additions and 28 deletions

View file

@ -94,6 +94,7 @@ static const box_t boxes[CHECKBOX_ITEM_COUNT] = {
{ BOXPARALYZE, "PARALYZE", 45 },
{ BOXGPSRESCUE, "GPS RESCUE", 46 },
{ BOXACROTRAINER, "ACRO TRAINER", 47 },
{ BOXVTXCONTROLDISABLE, "DISABLE VTX CONTROL", 48},
};
// mask of enabled IDs, calculated on startup based on enabled features. boxId_e is used as bit index
@ -260,6 +261,7 @@ void initActiveBoxIds(void)
#if defined(USE_VTX_SMARTAUDIO) || defined(USE_VTX_TRAMP)
BME(BOXVTXPITMODE);
BME(BOXVTXCONTROLDISABLE);
#endif
BME(BOXPARALYZE);