Category
Other
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.7.15.567b8ea
Description
Are there any reasons to check the condition:
audioThread->isPlaying()
Before stopping audioThread?
The thing is, if no melody is playing, then audioThread never stops.
Because of this, the speaker pin is never set to LOW state:
class AudioThread : public concurrency::OSThread
method: stop()
#ifdef T_LORA_PAGER
LOG_DEBUG("AudioThread: EXPANDS_AMP_EN, LOW");
io.digitalWrite(EXPANDS_AMP_EN, LOW);
#endif
Relevant log output
ExternalNotificationModule::stopNow()
#ifdef HAS_I2S
LOG_INFO("Stop audioThread playback");
if (audioThread->isPlaying())
audioThread->stop();
#endif
Category
Other
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.7.15.567b8ea
Description
Are there any reasons to check the condition:
audioThread->isPlaying()Before stopping audioThread?
The thing is, if no melody is playing, then audioThread never stops.
Because of this, the speaker pin is never set to LOW state:
Relevant log output