# HG changeset patch # User Mychaela Falconia # Date 1465624269 0 # Node ID 85b080d6fb39127ecd60b4544aabef82eb3bb26b # Parent da9056962fb7b391a97ccfaea0b614315885d1af L1/cfile/l1_{cmplx,init}.c: support for feature tch-reroute re-added diff -r da9056962fb7 -r 85b080d6fb39 L1/cfile/l1_cmplx.c --- a/L1/cfile/l1_cmplx.c Sat Jun 11 05:14:36 2016 +0000 +++ b/L1/cfile/l1_cmplx.c Sat Jun 11 05:51:09 2016 +0000 @@ -234,6 +234,11 @@ UWORD8 input_level_flag, UWORD8 input_level, UWORD16 radio_freq, UWORD8 if_threshold); #endif +#if FEATURE_TCH_REROUTE +extern BOOL tch_reroute_downlink; +extern void tch_send_downlink_bits(API *dsp_buffer); +extern void tch_substitute_uplink(API *dsp_buffer); +#endif //#pragma DUPLICATE_FOR_INTERNAL_RAM_END @@ -5116,6 +5121,10 @@ } #endif } +#if FEATURE_TCH_REROUTE + else + tch_substitute_uplink(l1s_dsp_com.dsp_ndb_ptr->a_du_1); +#endif } } @@ -9452,6 +9461,11 @@ } #endif + #if FEATURE_TCH_REROUTE + if (tch_reroute_downlink) + tch_send_downlink_bits(l1s_dsp_com.dsp_ndb_ptr->a_dd_0); + #endif + if(channel_mode == TCH_24F_MODE) { #if IDS diff -r da9056962fb7 -r 85b080d6fb39 L1/cfile/l1_init.c --- a/L1/cfile/l1_init.c Sat Jun 11 05:14:36 2016 +0000 +++ b/L1/cfile/l1_init.c Sat Jun 11 05:51:09 2016 +0000 @@ -1876,10 +1876,13 @@ #if TRACE_TYPE==3 reset_stats(); #endif - #if(OP_L1_STANDALONE == 1 || L1_NAVC == 1 )//NAVC + #if(OP_L1_STANDALONE == 1 || L1_NAVC == 1 )//NAVC Cust_navc_ctrl_status(1);//start - NAVC - #endif//end of (OP_L1_STANDALONE == 1 || L1_NAVC == 1 ) + #endif//end of (OP_L1_STANDALONE == 1 || L1_NAVC == 1 ) + #if FEATURE_TCH_REROUTE + feature_tch_reroute_init(); + #endif } /*-------------------------------------------------------*/