Commit 711afedf authored by Laurent THOMAS's avatar Laurent THOMAS

warmup RF board in UE

parent ccdabb4c
...@@ -812,6 +812,11 @@ void *UE_thread(void *arg) ...@@ -812,6 +812,11 @@ void *UE_thread(void *arg)
if (get_softmodem_params()->sync_ref && UE->sl_mode == 2) { if (get_softmodem_params()->sync_ref && UE->sl_mode == 2) {
UE->is_synchronized = 1; UE->is_synchronized = 1;
} else {
//warm up the RF board
int64_t tmp;
for (int i=0; i< 50; i++)
readFrame(UE, &tmp, true);
} }
while (!oai_exit) { while (!oai_exit) {
......
...@@ -202,7 +202,7 @@ void nr_scan_ssb(void *arg) ...@@ -202,7 +202,7 @@ void nr_scan_ssb(void *arg)
/* process pss search on received buffer */ /* process pss search on received buffer */
ssbInfo->syncRes.frame_id = frame_id; ssbInfo->syncRes.frame_id = frame_id;
int nid2; int nid2;
int freq_offset_pss; int freq_offset_pss=0;
const int sync_pos = pss_synchro_nr((const c16_t **)rxdata, const int sync_pos = pss_synchro_nr((const c16_t **)rxdata,
fp, fp,
pssTime, pssTime,
......
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