Commit 9d687c8d authored by Eurecom's avatar Eurecom

Set RU 0 to master and others to slave. Testing the synch

parent 9b493829
...@@ -1141,6 +1141,8 @@ void do_ru_synch(RU_t *ru) { ...@@ -1141,6 +1141,8 @@ void do_ru_synch(RU_t *ru) {
} }
ru->rfdevice.trx_set_freq_func(&ru->rfdevice,ru->rfdevice.openair0_cfg,0); ru->rfdevice.trx_set_freq_func(&ru->rfdevice,ru->rfdevice.openair0_cfg,0);
LOG_I(PHY,"Entering synch routine\n");
while ((ru->in_synch ==0)&&(!oai_exit)) { while ((ru->in_synch ==0)&&(!oai_exit)) {
// read in frame // read in frame
rxs = ru->rfdevice.trx_read_func(&ru->rfdevice, rxs = ru->rfdevice.trx_read_func(&ru->rfdevice,
...@@ -1185,6 +1187,7 @@ void do_ru_synch(RU_t *ru) { ...@@ -1185,6 +1187,7 @@ void do_ru_synch(RU_t *ru) {
ru->rfdevice.trx_set_freq_func(&ru->rfdevice,ru->rfdevice.openair0_cfg,0); ru->rfdevice.trx_set_freq_func(&ru->rfdevice,ru->rfdevice.openair0_cfg,0);
LOG_I(PHY,"Exiting synch routine\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