warmup RF board in UE

This commit is contained in:
Laurent THOMAS
2024-09-27 14:39:41 +02:00
parent ccdabb4c2c
commit 711afedfe1
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -812,6 +812,11 @@ void *UE_thread(void *arg)
if (get_softmodem_params()->sync_ref && UE->sl_mode == 2) {
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) {
@@ -202,7 +202,7 @@ void nr_scan_ssb(void *arg)
/* process pss search on received buffer */
ssbInfo->syncRes.frame_id = frame_id;
int nid2;
int freq_offset_pss;
int freq_offset_pss=0;
const int sync_pos = pss_synchro_nr((const c16_t **)rxdata,
fp,
pssTime,