Fix for OBP40 in page system and deepSleep
This commit is contained in:
parent
b4ebec872d
commit
46af8916e7
|
@ -74,10 +74,12 @@ public:
|
||||||
if (key == 4) {
|
if (key == 4) {
|
||||||
ESP.restart();
|
ESP.restart();
|
||||||
}
|
}
|
||||||
|
#ifdef BOARD_OBP60S3
|
||||||
// standby / deep sleep
|
// standby / deep sleep
|
||||||
if (key == 5) {
|
if (key == 5) {
|
||||||
deepSleep(*commonData);
|
deepSleep(*commonData);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// Code for keylock
|
// Code for keylock
|
||||||
if (key == 11) {
|
if (key == 11) {
|
||||||
commonData->keylock = !commonData->keylock;
|
commonData->keylock = !commonData->keylock;
|
||||||
|
|
Loading…
Reference in New Issue