From 157707b0422201ef1cd9b505578c9a11d6e19604 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Wed, 8 Feb 2017 18:06:24 +0100 Subject: [PATCH] fix USE_MME compilation flag We should use ENABLE_USE_MME, not USE_MME. This code is useless anyway (I think, not sure, that's why I leave it here), because the other threads wait for 'sync_var' to become >=0. --- targets/RT/USER/lte-ue.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/RT/USER/lte-ue.c b/targets/RT/USER/lte-ue.c index 10883921e7f..5945431dda6 100644 --- a/targets/RT/USER/lte-ue.c +++ b/targets/RT/USER/lte-ue.c @@ -198,14 +198,14 @@ void init_UE(int nb_inst) { } printf("UE threads created\n"); -#ifdef USE_MME - +#if 0 +#if defined(ENABLE_USE_MME) + extern volatile int start_UE; while (start_UE == 0) { sleep(1); } - #endif - +#endif } /*! -- GitLab