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

Deep sleep for OBP60 and small fix for BMP180

This commit is contained in:
2025-01-23 19:49:44 +01:00
parent a42d31ff49
commit 1ff0de5d24
5 changed files with 69 additions and 3 deletions

View File

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