Commit 58d10d59 authored by Sakthivel Velumani's avatar Sakthivel Velumani

Fix nr_dlsim segflt

parent 874cefb9
...@@ -264,6 +264,9 @@ nrUE_params_t *get_nrUE_params(void) { ...@@ -264,6 +264,9 @@ nrUE_params_t *get_nrUE_params(void) {
return &nrUE_params; return &nrUE_params;
} }
void do_nothing(void *args) {
}
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
char c; char c;
...@@ -856,7 +859,7 @@ int main(int argc, char **argv) ...@@ -856,7 +859,7 @@ int main(int argc, char **argv)
notifiedFIFO_t txFifo; notifiedFIFO_t txFifo;
UE->txFifo = &txFifo; UE->txFifo = &txFifo;
initNotifiedFIFO(&txFifo); initNotifiedFIFO(&txFifo);
pushNotifiedFIFO(&txFifo, newNotifiedFIFO_elt(sizeof(nr_rxtx_thread_data_t), 0,&txFifo,NULL)); pushNotifiedFIFO(&txFifo, newNotifiedFIFO_elt(sizeof(nr_rxtx_thread_data_t), 0,&txFifo,do_nothing));
test_input_bit = (unsigned char *) malloc16(sizeof(unsigned char) * 16 * 68 * 384); test_input_bit = (unsigned char *) malloc16(sizeof(unsigned char) * 16 * 68 * 384);
estimated_output_bit = (unsigned char *) malloc16(sizeof(unsigned char) * 16 * 68 * 384); estimated_output_bit = (unsigned char *) malloc16(sizeof(unsigned char) * 16 * 68 * 384);
......
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