# HG changeset patch # User Mychaela Falconia # Date 1464744255 0 # Node ID 6e7dd5e52650698b5cf72020eec10ca500e32cb0 # Parent 6312f684cef1641d47fedb16e77aeb41ab62f4e5 gsm-fw feature tch-reroute: B_PLAY_UL (uplink substitution) bug fixed diff -r 6312f684cef1 -r 6e7dd5e52650 gsm-fw/L1/cfile/tch_feature.c --- a/gsm-fw/L1/cfile/tch_feature.c Tue May 31 18:50:32 2016 +0000 +++ b/gsm-fw/L1/cfile/tch_feature.c Wed Jun 01 01:24:15 2016 +0000 @@ -65,7 +65,7 @@ read_ptr = ul_read_ptr; if (read_ptr == ul_write_ptr) { /* no uplink substitution */ - l1s_dsp_com.dsp_ndb_ptr->d_tch_mode &= ~(1 << B_PLAY_UL); + l1s_dsp_com.dsp_ndb_ptr->d_tch_mode &= ~B_PLAY_UL; return; } for (i = 0; i < WORDS_PER_ENTRY; i++) @@ -74,7 +74,7 @@ dsp_buffer[0] = (1 << B_BLUD); // 1st word: Set B_BLU bit. dsp_buffer[1] = 0; // 2nd word: cleared. dsp_buffer[2] = 0; // 3rd word: cleared. - l1s_dsp_com.dsp_ndb_ptr->d_tch_mode |= (1 << B_PLAY_UL); + l1s_dsp_com.dsp_ndb_ptr->d_tch_mode |= B_PLAY_UL; /* advance the read pointer and send TCH_ULBITS_CONF */ read_ptr++; if (read_ptr >= UPLINK_QUEUE_SIZE)