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
co-authored by GitHub
parent 39bbf0d352
commit 4a48a3fb52
+2 -1
View File
@@ -244,7 +244,8 @@ void ExternalNotificationModule::stopNow()
{ {
rtttl::stop(); rtttl::stop();
#ifdef HAS_I2S #ifdef HAS_I2S
audioThread->stop(); if (audioThread->isPlaying())
audioThread->stop();
#endif #endif
nagCycleCutoff = 1; // small value nagCycleCutoff = 1; // small value
isNagging = false; isNagging = false;