From e553da593159cc048db2ca618a546422b674de20 Mon Sep 17 00:00:00 2001 From: Raymond Knopp Date: Thu, 17 Jul 2014 11:57:36 +0000 Subject: [PATCH] git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5525 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/RT/USER/lte-softmodem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/targets/RT/USER/lte-softmodem.c b/targets/RT/USER/lte-softmodem.c index 82eb5179cc..172df2c0c8 100644 --- a/targets/RT/USER/lte-softmodem.c +++ b/targets/RT/USER/lte-softmodem.c @@ -227,6 +227,8 @@ static char *itti_dump_file = NULL; double tx_gain = 50; double rx_gain = 30; +double sample_rate=30.72e6; +double bw = 14e6; #ifndef USRP static unsigned int rxg_max[4] = {133,133,133,133}; @@ -236,12 +238,10 @@ static int tx_max_power = 0; #else -double sample_rate=30.72e6; static unsigned int rxg_max[4] = {133,133,133,133}; //static unsigned int rxg_med[4] = {127,127,127,127}; //static unsigned int rxg_byp[4] = {120,120,120,120}; static int tx_max_power = 0; -double bw = 14e6; char ref[128] = "internal"; char channels[128] = "0"; @@ -2386,11 +2386,11 @@ int main(int argc, char **argv) { #ifdef RTAI #ifdef USRP rt_sem_delete(sync_sem); -#endif stop_rt_timer(); #else pthread_cond_destroy(&sync_cond); pthread_mutex_destroy(&sync_mutex); +#endif #endif printf("stopping card\n");