mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
6-pos multiswitches calibration bug fixed!
This commit is contained in:
parent
a257f6f784
commit
c721a16d65
2 changed files with 13 additions and 9 deletions
|
@ -425,13 +425,12 @@ bool check(check_event_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t
|
|||
cc = 0;
|
||||
break;
|
||||
}
|
||||
if (cc != curr) {
|
||||
|
||||
if (!calibrationState && cc != curr) {
|
||||
chainMenu((MenuFuncP)pgm_read_adr(&menuTab[cc]));
|
||||
return false;
|
||||
}
|
||||
|
||||
calibrationState = 0;
|
||||
|
||||
if (!(flags&CHECK_FLAG_NO_SCREEN_INDEX)) {
|
||||
displayScreenIndex(curr, menuTabSize, attr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue