Fixed bug making t-deck reboot when muted (#3694)

This commit is contained in:
Nicholas Baddorf
2024-04-21 14:41:22 -05:00
committed by GitHub
parent 39bbf0d352
commit 4a48a3fb52
@@ -244,6 +244,7 @@ void ExternalNotificationModule::stopNow()
{ {
rtttl::stop(); rtttl::stop();
#ifdef HAS_I2S #ifdef HAS_I2S
if (audioThread->isPlaying())
audioThread->stop(); audioThread->stop();
#endif #endif
nagCycleCutoff = 1; // small value nagCycleCutoff = 1; // small value