1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-20 01:03:06 +01:00

Merge pull request #149 from thooge/master

Fix for OBP40 in page system and deepSleep
This commit is contained in:
Norbert Walter
2025-01-24 10:07:24 +01:00
committed by GitHub

View File

@@ -74,10 +74,12 @@ public:
if (key == 4) {
ESP.restart();
}
#ifdef BOARD_OBP60S3
// standby / deep sleep
if (key == 5) {
deepSleep(*commonData);
}
#endif
// Code for keylock
if (key == 11) {
commonData->keylock = !commonData->keylock;