1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

First working system page

This commit is contained in:
2025-01-20 19:20:37 +01:00
parent 9d395c719a
commit a73f50ba74
6 changed files with 263 additions and 39 deletions

View File

@@ -144,14 +144,14 @@ void initKeys(CommonData &commonData) {
logger->logDebug(GwLog::LOG,"Very short 20ms key touch: %d", keycode);
// Process only valid keys
//if(keycode == 1 || keycode == 6){
if(keycode == 1 || keycode == 4 || keycode == 5 || keycode == 6){
keycode2 = keycode;
//}
}
// Clear by invalid keys
//else{
// keycode2 = 0;
// keycodeold2 = 0;
//}
else{
keycode2 = 0;
keycodeold2 = 0;
}
}
// Timeout for very short pressed key
if(millis() > starttime + 200){