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

Merge pull request #6680 from mikeller/add_vtx_control_disable_mode

Added 'VTX CONTROL DISABLE' mode.
This commit is contained in:
Michael Keller 2018-09-08 15:37:11 +12:00 committed by GitHub
commit aa9e421068
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);