mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 03:09:59 +00:00
missed one
This commit is contained in:
parent
d9d8c7eb74
commit
b134f0bb46
@ -37,7 +37,11 @@ int32_t ExternalNotificationModule::runOnce()
|
|||||||
if (!moduleConfig.external_notification.enabled) {
|
if (!moduleConfig.external_notification.enabled) {
|
||||||
return INT32_MAX; // we don't need this thread here...
|
return INT32_MAX; // we don't need this thread here...
|
||||||
} else {
|
} else {
|
||||||
|
#ifndef ARCH_PORTDUINO
|
||||||
if ((nagCycleCutoff < millis()) && !rtttl::isPlaying()) {
|
if ((nagCycleCutoff < millis()) && !rtttl::isPlaying()) {
|
||||||
|
#else
|
||||||
|
if (nagCycleCutoff < millis()) {
|
||||||
|
#endif
|
||||||
nagCycleCutoff = UINT32_MAX;
|
nagCycleCutoff = UINT32_MAX;
|
||||||
DEBUG_MSG("Turning off external notification: ");
|
DEBUG_MSG("Turning off external notification: ");
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 2; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user