replacing cell_notdetected with cell_detected in initial_sync structure

This commit is contained in:
francescomani
2024-03-19 09:59:07 +01:00
parent 1fa6be2a3d
commit ee3dcc5c77
4 changed files with 32 additions and 25 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ static void UE_synch(void *arg) {
uint64_t dl_carrier, ul_carrier;
nr_get_carrier_frequencies(UE, &dl_carrier, &ul_carrier);
nr_initial_sync_t ret = nr_initial_sync(&syncD->proc, UE, 2, get_softmodem_params()->sa);
if (!ret.cell_notdetected) {
if (ret.cell_detected) {
syncD->rx_offset = ret.rx_offset;
freq_offset = UE->common_vars.freq_offset; // frequency offset computed with pss in initial sync
hw_slot_offset =