Merge branch 'bsongis/Issue713_more_custom_functions' of

https://github.com/opentx/opentx/ into
bsongis/Issue713_more_custom_functions
This commit is contained in:
Bertrand Songis
2014-02-20 17:17:23 +01:00
+1 -1
View File
@@ -266,7 +266,7 @@ void referenceModelAudioFiles()
// Logical Switches Audio Files <switchname>-[on|off].wav
for (int i=0; i<NUM_CSW && !found; i++) {
for (int event=0; event<2; event++) {
getLogicalSwitchAudioFile(filename, i, event);
getLogicalSwitchAudioFile(path, i, event);
if (!strcmp(filename, fn)) {
sdAvailableLogicalSwitchAudioFiles |= MASK_LOGICAL_SWITCH_AUDIO_FILE(i, event);
found = true;