Commit 25d61353 authored by Guido Casati's avatar Guido Casati

UE ID variable in main

* removed hardcoded value
parent 76f06a93
...@@ -456,6 +456,7 @@ ldpc_interface_t ldpc_interface = {0}, ldpc_interface_offload = {0}; ...@@ -456,6 +456,7 @@ ldpc_interface_t ldpc_interface = {0}, ldpc_interface_offload = {0};
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
uint8_t ue_id = 0;
int set_exe_prio = 1; int set_exe_prio = 1;
if (checkIfFedoraDistribution()) if (checkIfFedoraDistribution())
if (checkIfGenericKernelOnFedora()) if (checkIfGenericKernelOnFedora())
...@@ -563,7 +564,7 @@ int main(int argc, char **argv) ...@@ -563,7 +564,7 @@ int main(int argc, char **argv)
nr_init_frame_parms_ue(&UE[CC_id]->frame_parms, nrUE_config, mac->nr_band); nr_init_frame_parms_ue(&UE[CC_id]->frame_parms, nrUE_config, mac->nr_band);
} }
init_nr_ue_vars(UE[CC_id], 0, abstraction_flag); init_nr_ue_vars(UE[CC_id], ue_id, abstraction_flag);
} }
init_openair0(); init_openair0();
......
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