Extra Channel setting WIP

This commit is contained in:
Oleksiy
2025-03-04 22:05:51 +02:00
parent d04e7b0dbb
commit 1201d206a0
4 changed files with 29 additions and 18 deletions

View File

@ -67,6 +67,8 @@ void checkInputs() {
showDone = true;
updateScreen();
} else if (displayScreen == 2 && menuItem == 3) {
extraChannel = !extraChannel;
} else if (displayScreen == 2 && menuItem == 4) {
EEPROM.put(1023, memCode - 1);
reboot();
}
@ -111,8 +113,8 @@ void checkInputs() {
displayTab = displayTab + change;
if (displayTab > 100) { //to address "negative" numbers
displayTab = 0;
} else if (displayTab > 6) {
displayTab = 6;
} else if (displayTab > (extraChannel ? 7 : 6)) {
displayTab = (extraChannel ? 7 : 6);
}
} else if (((!insideTab && shiftBtnPushed)
|| (insideTab && menuItem == 0