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
+3
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;
}
}