From 9d687c8d8419a52d16ff28a794036126e31684d2 Mon Sep 17 00:00:00 2001 From: Eurecom <eurecom@smtp.eurecom.fr> Date: Tue, 19 Dec 2017 15:23:28 +0100 Subject: [PATCH] Set RU 0 to master and others to slave. Testing the synch --- targets/RT/USER/lte-ru.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/RT/USER/lte-ru.c b/targets/RT/USER/lte-ru.c index a46f5858ac6..6b7c3448b63 100644 --- a/targets/RT/USER/lte-ru.c +++ b/targets/RT/USER/lte-ru.c @@ -1141,6 +1141,8 @@ void do_ru_synch(RU_t *ru) { } 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)) { // read in frame rxs = ru->rfdevice.trx_read_func(&ru->rfdevice, @@ -1185,6 +1187,7 @@ void do_ru_synch(RU_t *ru) { ru->rfdevice.trx_set_freq_func(&ru->rfdevice,ru->rfdevice.openair0_cfg,0); + LOG_I(PHY,"Exiting synch routine\n"); } -- GitLab