Fixed bug making t-deck reboot when muted (#3694)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user