Fixed RC modes PG version after GPS rescue.
This commit is contained in:
parent
041362614b
commit
557d704b9e
|
@ -42,7 +42,7 @@ boxBitmask_t rcModeActivationMask; // one bit per mode defined in boxId_e
|
|||
static bool modeChangesDisabled = false;
|
||||
|
||||
PG_REGISTER_ARRAY(modeActivationCondition_t, MAX_MODE_ACTIVATION_CONDITION_COUNT, modeActivationConditions,
|
||||
PG_MODE_ACTIVATION_PROFILE, 0);
|
||||
PG_MODE_ACTIVATION_PROFILE, 1);
|
||||
|
||||
bool IS_RC_MODE_ACTIVE(boxId_e boxId)
|
||||
{
|
||||
|
|
|
@ -43,6 +43,8 @@ typedef enum {
|
|||
BOXGPSRESCUE,
|
||||
BOXID_FLIGHTMODE_LAST = BOXGPSRESCUE,
|
||||
|
||||
// When new flight modes are added, the parameter group version for 'modeActivationConditions' in src/main/fc/rc_modes.c has to be incremented to ensure that the RC modes configuration is reset.
|
||||
|
||||
// RCMODE flags
|
||||
BOXANTIGRAVITY,
|
||||
BOXHEADADJ,
|
||||
|
|
Loading…
Reference in New Issue