diff --git a/targets/RT/USER/lte-ue.c b/targets/RT/USER/lte-ue.c
index 10883921e7f8c0cdc5a3ca00a1f2cc8fee1c5fd1..5945431dda605a6334ba21c5678c431e49023575 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
 }
 
 /*!