mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
P25 and P26 automatic prompts were not played
This commit is contained in:
parent
f2f9579b77
commit
bb774648ff
2 changed files with 4 additions and 3 deletions
|
@ -118,12 +118,12 @@ const char * audioFilenames[] = {
|
|||
|
||||
uint64_t sdAvailableSystemAudioFiles = 0;
|
||||
uint32_t sdAvailablePhaseAudioFiles = 0;
|
||||
uint32_t sdAvailableSwitchAudioFiles = 0;
|
||||
uint64_t sdAvailableSwitchAudioFiles = 0;
|
||||
uint64_t sdAvailableLogicalSwitchAudioFiles = 0;
|
||||
|
||||
#define MASK_SYSTEM_AUDIO_FILE(index) ((uint64_t)1 << index)
|
||||
#define MASK_PHASE_AUDIO_FILE(index, event) ((uint32_t)1 << (2*index+event))
|
||||
#define MASK_SWITCH_AUDIO_FILE(index) ((uint32_t)1 << index)
|
||||
#define MASK_SWITCH_AUDIO_FILE(index) ((uint64_t)1 << index)
|
||||
#define MASK_LOGICAL_SWITCH_AUDIO_FILE(index, event) ((uint64_t)1 << (2*index+event))
|
||||
|
||||
bool isFileAvailable(const char * filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue