Commit 1bacb91a authored by cig's avatar cig

Bugfix: set freq_offet to static to avoid re-initialisation in frequency scanner

parent 60d81f23
...@@ -176,7 +176,7 @@ static void UE_synch(void *arg) { ...@@ -176,7 +176,7 @@ static void UE_synch(void *arg) {
PHY_VARS_NR_UE *UE = syncD->UE; PHY_VARS_NR_UE *UE = syncD->UE;
sync_mode_t sync_mode = pbch; sync_mode_t sync_mode = pbch;
int CC_id = UE->CC_id; int CC_id = UE->CC_id;
int freq_offset=0; static int freq_offset=0;
UE->is_synchronized = 0; UE->is_synchronized = 0;
if (UE->UE_scan == 0) { if (UE->UE_scan == 0) {
......
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