FreeCalypso > hg > freecalypso-citrine
diff L1/cfile/l1_cmplx.c @ 25:85b080d6fb39
L1/cfile/l1_{cmplx,init}.c: support for feature tch-reroute re-added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Jun 2016 05:51:09 +0000 |
parents | b80f0c5016ee |
children |
line wrap: on
line diff
--- 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