[Taranis, Sky9x] Wav files played even in silent mode.
This commit is contained in:
@@ -679,6 +679,9 @@ void AudioQueue::playFile(const char *filename, uint8_t flags, uint8_t id)
|
||||
if (!sdMounted())
|
||||
return;
|
||||
|
||||
if (g_eeGeneral.beepMode == e_mode_quiet)
|
||||
return;
|
||||
|
||||
if (strlen(filename) > AUDIO_FILENAME_MAXLEN) {
|
||||
POPUP_WARNING(STR_PATH_TOO_LONG);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user