mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-09 14:41:19 -04:00
Wake screen on first press (#4052)
This commit is contained in:
1 parent
90d45f24fd
commit
338244de32
1 file changed
+2
-2
@@ -232,10 +232,10 @@ void ButtonThread::attachButtonInterrupts()
|
||||
attachInterrupt(
|
||||
config.device.button_gpio ? config.device.button_gpio : BUTTON_PIN,
|
||||
[]() {
|
||||
BaseType_t higherWake = 0;
|
||||
mainDelay.interruptFromISR(&higherWake);
|
||||
ButtonThread::userButton.tick();
|
||||
runASAP = true;
|
||||
BaseType_t higherWake = 0;
|
||||
mainDelay.interruptFromISR(&higherWake);
|
||||
},
|
||||
CHANGE);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user