get gnb ownership of RC to avoid compiling ENB_APP_SRC in NR

Signed-off-by: francescomani <email@francescomani.it>
This commit is contained in:
francescomani
2026-05-12 16:58:32 +02:00
parent d191447a01
commit 36ed4d9ff1
2 changed files with 1 additions and 1 deletions

View File

@@ -1381,7 +1381,6 @@ endif()
add_library(L2_LTE_NR
# temporary solution until 4G/5G code completely untangled (as evidenced by deletion of the following file)
${MAC_DIR}/dummy_functions.c
${ENB_APP_SRC}
)
target_link_libraries(L2_LTE_NR PRIVATE f1ap s1ap nr_rrc)

View File

@@ -70,6 +70,7 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "openair1/SCHED_NR/sched_nr.h"
#include "openair2/SDAP/nr_sdap/nr_sdap.h"
RAN_CONTEXT_t RC;
pthread_cond_t nfapi_sync_cond;
pthread_mutex_t nfapi_sync_mutex;
int nfapi_sync_var=-1; //!< protected by mutex \ref nfapi_sync_mutex