Fix #8883 (lora-Pager fter playing the notification, voltage does not disappear from the speaker) (#8884)

* Fix #8883

* Fix crash when delete not inicialized rtttlFile
This commit is contained in:
Igor Danilov
2025-12-08 00:50:53 +03:00
committed by GitHub
parent 2a17c3b5d4
commit 2ae391197f
2 changed files with 8 additions and 6 deletions

View File

@@ -310,8 +310,7 @@ void ExternalNotificationModule::stopNow()
rtttl::stop();
#ifdef HAS_I2S
LOG_INFO("Stop audioThread playback");
if (audioThread->isPlaying())
audioThread->stop();
audioThread->stop();
#endif
// Turn off all outputs
LOG_INFO("Turning off setExternalStates");