mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-28 15:22:55 +00:00
Update src/modules/ExternalNotificationModule.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
29dc9dc13b
commit
efae093911
@ -95,7 +95,7 @@ int32_t ExternalNotificationModule::runOnce()
|
|||||||
isRtttlPlaying = isRtttlPlaying || audioThread->isPlaying();
|
isRtttlPlaying = isRtttlPlaying || audioThread->isPlaying();
|
||||||
#endif
|
#endif
|
||||||
if ((nagCycleCutoff <= millis())) {
|
if ((nagCycleCutoff <= millis())) {
|
||||||
// let the song finish if we reach timeout
|
// Turn off external notification immediately when timeout is reached, regardless of song state
|
||||||
nagCycleCutoff = UINT32_MAX;
|
nagCycleCutoff = UINT32_MAX;
|
||||||
LOG_INFO("Turning off external notification: ");
|
LOG_INFO("Turning off external notification: ");
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user