mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #5851 from robertlacroix/graveyard
Add Paralyze mode support
This commit is contained in:
commit
ea8432b941
9 changed files with 164 additions and 4 deletions
|
@ -92,6 +92,7 @@ static const box_t boxes[CHECKBOX_ITEM_COUNT] = {
|
|||
{ BOXUSER3, "USER3", 42 },
|
||||
{ BOXUSER4, "USER4", 43 },
|
||||
{ BOXPIDAUDIO, "PID AUDIO", 44 },
|
||||
{ BOXPARALYZE, "PARALYZE", 45 },
|
||||
};
|
||||
|
||||
// mask of enabled IDs, calculated on startup based on enabled features. boxId_e is used as bit index
|
||||
|
@ -269,6 +270,8 @@ void initActiveBoxIds(void)
|
|||
BME(BOXVTXPITMODE);
|
||||
#endif
|
||||
|
||||
BME(BOXPARALYZE);
|
||||
|
||||
#ifdef USE_PINIOBOX
|
||||
// Turn BOXUSERx only if pinioBox facility monitors them, as the facility is the only BOXUSERx observer.
|
||||
// Note that pinioBoxConfig can be set to monitor any box.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue