# HG changeset patch # User Mychaela Falconia # Date 1530247980 0 # Node ID 68e0373035d7109ba682ca981bdf755309fcd53a # Parent d6da3c06d484b753194768090537a21bde5d2bce L1_DYN_DSP_DWNLD=1 && MELODY_E2=0: fixed broken build diff -r d6da3c06d484 -r 68e0373035d7 src/cs/layer1/cfile/l1_sync.c --- a/src/cs/layer1/cfile/l1_sync.c Mon Jun 25 22:42:48 2018 +0000 +++ b/src/cs/layer1/cfile/l1_sync.c Fri Jun 29 04:53:00 2018 +0000 @@ -995,26 +995,37 @@ #if (GSM_IDLE_RAM != 0) if ((l1a_l1s_com.mode > I_MODE) || (l1_config.TestMode == 1)) #endif - { -#if(MELODY_E2 || L1_MP3 || L1_AAC || L1_DYN_DSP_DWNLD) + { +#if 0 /* LoCosto code */ + #if(MELODY_E2 || L1_MP3 || L1_AAC || L1_DYN_DSP_DWNLD) // DSP Trace is output ONLY if melody e2, mp3 or dynamic download are not currently running if(trace_info.dsptrace_handler_globals.trace_flag_blocked == FALSE) + #endif +#else /* FreeCalypso support for L1_DYN_DSP_DWNLD=1 with MELODY_E2=0 */ + #if (L1_DYN_DSP_DWNLD) + if (l1a.dyn_dwnld.trace_flag_blocked == FALSE) + #endif #endif Trace_dsp_debug(); - } + } #if (AMR == 1) if (trace_info.current_config->l1_dyn_trace & 1< I_MODE) || (l1_config.TestMode == 1)) #endif - { -#if(MELODY_E2 || L1_MP3 || L1_AAC || L1_DYN_DSP_DWNLD ) + { +#if 0 /* LoCosto code */ + #if(MELODY_E2 || L1_MP3 || L1_AAC || L1_DYN_DSP_DWNLD ) // DSP Trace is output ONLY if melody e2, mp3 or dynamic download are not currently running if(trace_info.dsptrace_handler_globals.trace_flag_blocked == FALSE) + #endif +#else /* FreeCalypso support for L1_DYN_DSP_DWNLD=1 with MELODY_E2=0 */ + #if (L1_DYN_DSP_DWNLD) + if (l1a.dyn_dwnld.trace_flag_blocked == FALSE) + #endif #endif - - Trace_dsp_amr_debug(); - } + Trace_dsp_amr_debug(); + } #endif #endif diff -r d6da3c06d484 -r 68e0373035d7 src/cs/layer1/cfile/l1_trace.c --- a/src/cs/layer1/cfile/l1_trace.c Mon Jun 25 22:42:48 2018 +0000 +++ b/src/cs/layer1/cfile/l1_trace.c Fri Jun 29 04:53:00 2018 +0000 @@ -6261,11 +6261,16 @@ if (trace_info.current_config->l1_dyn_trace & 1<