From 5811ab1dc84f56004747989a784947b9083ec76f Mon Sep 17 00:00:00 2001 From: Thomas Laurent Date: Wed, 2 Oct 2024 09:11:49 +0000 Subject: [PATCH] Apply 2 suggestion(s) to 2 file(s) Co-authored-by: Robert Schmidt --- executables/nr-ue.c | 2 +- openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executables/nr-ue.c b/executables/nr-ue.c index 55a012106d..ef1c6ab29f 100644 --- a/executables/nr-ue.c +++ b/executables/nr-ue.c @@ -815,7 +815,7 @@ void *UE_thread(void *arg) } else { //warm up the RF board int64_t tmp; - for (int i=0; i< 50; i++) + for (int i = 0; i < 50; i++) readFrame(UE, &tmp, true); } diff --git a/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c b/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c index f61cb715dd..85b612c1a8 100644 --- a/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c +++ b/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c @@ -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=0; + int freq_offset_pss = 0; const int sync_pos = pss_synchro_nr((const c16_t **)rxdata, fp, pssTime,