From 09e427d73e92158e5e03be94f1ab32bc28da9254 Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 28 Feb 2014 23:18:21 +0100 Subject: [PATCH] Indentation issues --- radio/src/audio_arm.cpp | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/radio/src/audio_arm.cpp b/radio/src/audio_arm.cpp index 9f5b07289..5faad0884 100644 --- a/radio/src/audio_arm.cpp +++ b/radio/src/audio_arm.cpp @@ -277,7 +277,7 @@ void referenceSystemAudioFiles() if (!strcmp(filename, fn)) { availableAudioFiles |= MASK_SYSTEM_AUDIO_FILE(i); break; - } + } } } } @@ -303,7 +303,7 @@ void getPhaseAudioFile(char * filename, int index, unsigned int event) char * tmp = strcat_phasename(str, index); strcpy(tmp, suffixes[event]); strcat(tmp, SOUNDS_EXT); - } +} void getSwitchAudioFile(char * filename, int index) { @@ -314,7 +314,7 @@ void getSwitchAudioFile(char * filename, int index) if (*str == '\300') { strcpy(str, "-up"); str += 3; -} + } else if (*str == '-') { strcpy(str, "-mid"); str += 4; @@ -376,7 +376,7 @@ void referenceModelAudioFiles() sdAvailablePhaseAudioFiles |= MASK_PHASE_AUDIO_FILE(i, event); found = true; break; - } + } } } @@ -386,8 +386,8 @@ void referenceModelAudioFiles() if (!strcmp(filename, fn)) { sdAvailableSwitchAudioFiles |= MASK_SWITCH_AUDIO_FILE(i); found = true; - } -} + } + } // Logical Switches Audio Files -[on|off].wav for (int i=0; idata;