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:
commit
aa9e421068
5 changed files with 41 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue