Add thumbDV_flushLists() to flush thumbDV lists in TX/RX transistions

This commit is contained in:
Ed Gonzalez 2015-09-03 10:29:12 -05:00
parent 675e300742
commit ce962e6d87
3 changed files with 29 additions and 3 deletions

View file

@ -485,6 +485,7 @@ static void * _sched_waveform_thread( void * param ) {
memset( float_in_24k, 0, MEM_24 * sizeof( float ) );
memset( float_in_8k, 0, MEM_8 * sizeof( float ) );
thumbDV_flushLists();
/* Requires us to set initial_rx to FALSE which we do at the end of
* the first loop
*/
@ -582,6 +583,8 @@ static void * _sched_waveform_thread( void * param ) {
memset( tx_float_in_24k, 0, MEM_24 * sizeof( float ) );
memset( tx_float_in_8k, 0, MEM_8 * sizeof( float ) );
thumbDV_flushLists();
/* Requires us to set initial_rx to FALSE which we do at the end of
* the first loop
*/