warmup RF board in UE
This commit is contained in:
@@ -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)
|
|||||||
/* 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user