Commit a3121cb6 authored by winckel's avatar winckel

Fixed a compile issue without ENABLE_USE_MME.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4716 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f04f3072
...@@ -51,10 +51,11 @@ extern unsigned char NB_eNB_INST; ...@@ -51,10 +51,11 @@ extern unsigned char NB_eNB_INST;
#endif #endif
#if defined(ENABLE_ITTI) #if defined(ENABLE_ITTI)
# if defined(ENABLE_USE_MME)
/*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/
#define ENB_REGISTER_RETRY_DELAY 10 # if defined(ENABLE_USE_MME)
# define ENB_REGISTER_RETRY_DELAY 10
# endif
typedef struct mme_ip_address_s { typedef struct mme_ip_address_s {
unsigned ipv4:1; unsigned ipv4:1;
...@@ -98,7 +99,9 @@ typedef struct Enb_properties_s { ...@@ -98,7 +99,9 @@ typedef struct Enb_properties_s {
} Enb_properties_t; } Enb_properties_t;
/*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/
# if defined(ENABLE_USE_MME)
static uint32_t enb_nb = 1; /* Default number of eNB */ static uint32_t enb_nb = 1; /* Default number of eNB */
# endif
/* eNB 0 properties */ /* eNB 0 properties */
static Enb_properties_t enb_0_properties = static Enb_properties_t enb_0_properties =
...@@ -230,6 +233,7 @@ static void configure_rrc() ...@@ -230,6 +233,7 @@ static void configure_rrc()
} }
} }
# if defined(ENABLE_USE_MME)
static uint32_t eNB_app_register() static uint32_t eNB_app_register()
{ {
uint32_t eNB_id_start = 0; uint32_t eNB_id_start = 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