mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Only call stopNow if we're nagging (#8601)
This commit is contained in:
@@ -52,7 +52,7 @@ int InputBroker::handleInputEvent(const InputEvent *event)
|
|||||||
powerFSM.trigger(EVENT_INPUT); // todo: not every input should wake, like long hold release
|
powerFSM.trigger(EVENT_INPUT); // todo: not every input should wake, like long hold release
|
||||||
|
|
||||||
if (event && event->inputEvent != INPUT_BROKER_NONE && externalNotificationModule &&
|
if (event && event->inputEvent != INPUT_BROKER_NONE && externalNotificationModule &&
|
||||||
moduleConfig.external_notification.enabled) {
|
moduleConfig.external_notification.enabled && externalNotificationModule->nagging()) {
|
||||||
externalNotificationModule->stopNow();
|
externalNotificationModule->stopNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user