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:
parent
f686934430
commit
4c5ac47507
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue