mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 03:09:59 +00:00
Hotfix for user button not working
This commit is contained in:
parent
475c87b0e4
commit
7f3a624ee3
@ -1072,7 +1072,7 @@ int32_t Screen::runOnce()
|
|||||||
break;
|
break;
|
||||||
case Cmd::ON_PRESS:
|
case Cmd::ON_PRESS:
|
||||||
// If a nag notification is running, stop it
|
// If a nag notification is running, stop it
|
||||||
if (externalNotificationModule->nagCycleCutoff != UINT32_MAX) {
|
if (moduleConfig.external_notification.enabled && (externalNotificationModule->nagCycleCutoff != UINT32_MAX)) {
|
||||||
externalNotificationModule->stopNow();
|
externalNotificationModule->stopNow();
|
||||||
} else {
|
} else {
|
||||||
// Don't advance the screen if we just wanted to switch off the nag notification
|
// Don't advance the screen if we just wanted to switch off the nag notification
|
||||||
|
Loading…
Reference in New Issue
Block a user