mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
[Taranis, Sky9x] Wav files played even in silent mode.
This commit is contained in:
parent
3adac4c795
commit
698885f645
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue