Merge branch 'master' into tft-gui-work

This commit is contained in:
Manuel 2024-06-07 14:56:33 +02:00 committed by GitHub
commit 6c00fe545f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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