Commit e553da59 authored by Raymond Knopp's avatar Raymond Knopp

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5525 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2c631a87
...@@ -227,6 +227,8 @@ static char *itti_dump_file = NULL; ...@@ -227,6 +227,8 @@ static char *itti_dump_file = NULL;
double tx_gain = 50; double tx_gain = 50;
double rx_gain = 30; double rx_gain = 30;
double sample_rate=30.72e6;
double bw = 14e6;
#ifndef USRP #ifndef USRP
static unsigned int rxg_max[4] = {133,133,133,133}; static unsigned int rxg_max[4] = {133,133,133,133};
...@@ -236,12 +238,10 @@ static int tx_max_power = 0; ...@@ -236,12 +238,10 @@ static int tx_max_power = 0;
#else #else
double sample_rate=30.72e6;
static unsigned int rxg_max[4] = {133,133,133,133}; static unsigned int rxg_max[4] = {133,133,133,133};
//static unsigned int rxg_med[4] = {127,127,127,127}; //static unsigned int rxg_med[4] = {127,127,127,127};
//static unsigned int rxg_byp[4] = {120,120,120,120}; //static unsigned int rxg_byp[4] = {120,120,120,120};
static int tx_max_power = 0; static int tx_max_power = 0;
double bw = 14e6;
char ref[128] = "internal"; char ref[128] = "internal";
char channels[128] = "0"; char channels[128] = "0";
...@@ -2386,11 +2386,11 @@ int main(int argc, char **argv) { ...@@ -2386,11 +2386,11 @@ int main(int argc, char **argv) {
#ifdef RTAI #ifdef RTAI
#ifdef USRP #ifdef USRP
rt_sem_delete(sync_sem); rt_sem_delete(sync_sem);
#endif
stop_rt_timer(); stop_rt_timer();
#else #else
pthread_cond_destroy(&sync_cond); pthread_cond_destroy(&sync_cond);
pthread_mutex_destroy(&sync_mutex); pthread_mutex_destroy(&sync_mutex);
#endif
#endif #endif
printf("stopping card\n"); printf("stopping card\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment