# HG changeset patch # User Mychaela Falconia # Date 1460167258 0 # Node ID f489cc385306f09fa96d0631b5ea5f3a2870cc99 # Parent 50187ed1cd7d0c76ce2b54e84fccf994d491bee9 l1_init.c: l1_initialize_var() reconstructed diff -r 50187ed1cd7d -r f489cc385306 chipsetsw/layer1/cfile/l1_init.c --- a/chipsetsw/layer1/cfile/l1_init.c Fri Apr 08 20:54:26 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_init.c Sat Apr 09 02:00:58 2016 +0000 @@ -9,7 +9,9 @@ #define L1_INIT_C - #include "l1_confg.h" +#include "l1_confg.h" + +#define W_A_DSP_PR20037 1 /* FreeCalypso */ #if (CODE_VERSION == SIMULATION) #include @@ -1413,21 +1415,21 @@ l1a_l1s_com.dedic_set.fset = NULL; l1a_l1s_com.dedic_set.SignalCode = 0; l1a_l1s_com.dedic_set.sync_tch = 0; + l1a_l1s_com.dedic_set.reset_facch = FALSE; l1a_l1s_com.dedic_set.stop_tch = 0; - l1a_l1s_com.dedic_set.reset_facch = FALSE; #if (FF_L1_TCH_VOCODER_CONTROL) l1a_l1s_com.dedic_set.reset_sacch = FALSE; -#if (L1_VOCODER_IF_CHANGE == 0) - l1a_l1s_com.dedic_set.vocoder_on = TRUE; - #if (W_A_DSP_PR20037 == 1) - l1a_l1s_com.dedic_set.start_vocoder = TCH_VOCODER_ENABLE_REQ; - #else // W_A_DSP_PR20037 == 0 - l1a_l1s_com.dedic_set.start_vocoder = FALSE; - #endif // W_A_DSP_PR20037 -#else // L1_VOCODER_IF_CHANGE + #if (L1_VOCODER_IF_CHANGE == 0) + l1a_l1s_com.dedic_set.vocoder_on = TRUE; + #if (W_A_DSP_PR20037 == 1) + l1a_l1s_com.dedic_set.start_vocoder = TCH_VOCODER_ENABLE_REQ; + #else // W_A_DSP_PR20037 == 0 + l1a_l1s_com.dedic_set.start_vocoder = FALSE; + #endif // W_A_DSP_PR20037 + #else // L1_VOCODER_IF_CHANGE l1a_l1s_com.dedic_set.vocoder_on = FALSE; l1a_l1s_com.dedic_set.start_vocoder = TCH_VOCODER_RESET_COMMAND; -#endif // L1_VOCODER_IF_CHANGE + #endif // L1_VOCODER_IF_CHANGE #endif // FF_L1_TCH_VOCODER_CONTROL l1a_l1s_com.dedic_set.radio_freq = 0;