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
commit a9525676b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

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;