We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8550ab7 commit a013aecCopy full SHA for a013aec
legacy/firmware/protect.c
@@ -770,7 +770,7 @@ uint8_t protectWaitKey(uint32_t time_out, uint8_t mode) {
770
usbTiny(1);
771
timer_out_set(timer_out_oper, time_out);
772
while (1) {
773
- if (layoutEnterSleep(1)) {
+ if (layoutEnterSleep(1) && (layoutLast != layoutScreensaver)) {
774
key = KEY_NULL;
775
protectAbortedBySleep = true;
776
break;
0 commit comments