1
0
Fork 0
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:
bsongis 2014-06-02 20:17:14 +02:00
parent a257f6f784
commit c721a16d65
2 changed files with 13 additions and 9 deletions

View file

@ -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);
}