changeset 596:a8121805b6d0

gsm-fw/L1/cfile/l1_async.c: call to l1a_mmi_outen_cfg_process() needs to be conditionalised on AUDIO_TASK
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 06:58:27 +0000
parents 3b4dce7dac06
children 8be182dd9218
files gsm-fw/L1/cfile/l1_async.c
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/cfile/l1_async.c	Sun Aug 17 04:36:14 2014 +0000
+++ b/gsm-fw/L1/cfile/l1_async.c	Sun Aug 17 06:58:27 2014 +0000
@@ -684,18 +684,24 @@
       #if (L1_VOCODER_IF_CHANGE == 1)
         l1a_mmi_vocoder_cfg_process(msg);
       #endif // L1_VOCODER_IF_CHANGE == 1
-     #if(L1_BT_AUDIO ==1)
+      #if(L1_BT_AUDIO ==1)
         l1a_mmi_bt_process(msg); 
       #endif // L1_VOCODER_IF_CHANGE == 1
+      /*
+       * FreeCalypso change: the following call to l1a_mmi_outen_cfg_process()
+       * (a function that doesn't exist in the Leonardo objects) has been
+       * moved inside the #if (AUDIO_TASK == 1) conditional, otherwise
+       * the link fails - it is definitely an audio function of some kind.
+       */
+      l1a_mmi_outen_cfg_process(msg);
     #endif //AUDIO TASK
-        l1a_mmi_outen_cfg_process(msg);
 
     // Only processes supported by GSM IDLE in Internal RAM
     #if (GSM_IDLE_RAM > 1)
        #if L1_GPRS
           if ((msg->SignalCode >> 8) == P_GPRS)
             l1pa_task(msg);
-    #endif
+       #endif
 
        // Serving Cell PAGING reading.
        l1a_idle_serving_cell_paging_process(msg);