1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 06:15:10 +03:00

Problem with AdjustGVAR modes on ARM boards (mode has > 2bits, allowing

more modes if needed later)
This commit is contained in:
Bertrand Songis 2014-02-07 22:58:12 +01:00
parent f686934430
commit 4c5ac47507

View file

@ -5019,6 +5019,9 @@ void menuModelCustomFunctions(uint8_t event)
s_editMode = !s_editMode;
active = true;
CFN_GVAR_MODE(sd) += 1;
#if defined(CPUARM)
CFN_GVAR_MODE(sd) &= 0x03;
#endif
val_displayed = 0;
}
}