Commit eb030b6a authored by Haruki NAOI's avatar Haruki NAOI

fix: compile error using "--mu" build option.

parent b0333172
...@@ -669,7 +669,7 @@ void nfapi_log(const char *file, const char *func, int line, int comp, int level ...@@ -669,7 +669,7 @@ void nfapi_log(const char *file, const char *func, int line, int comp, int level
va_end(args); va_end(args);
// OAI printf compatibility // OAI printf compatibility
if ((g_log->onlinelog == 1) && (level != LOG_FILE)) if ((g_log->onlinelog == 1) && (level != LOG_FILE)) {
if(log_mem_flag==1){ if(log_mem_flag==1){
if(log_mem_d[log_mem_side].enable_flag==1){ if(log_mem_d[log_mem_side].enable_flag==1){
int temp_index; int temp_index;
...@@ -706,6 +706,7 @@ void nfapi_log(const char *file, const char *func, int line, int comp, int level ...@@ -706,6 +706,7 @@ void nfapi_log(const char *file, const char *func, int line, int comp, int level
}else{ }else{
fwrite(log_buffer, len, 1, stdout); fwrite(log_buffer, len, 1, stdout);
} }
}
if (g_log->syslog) { if (g_log->syslog) {
syslog(g_log->level, "%s", log_buffer); syslog(g_log->level, "%s", log_buffer);
......
...@@ -2771,6 +2771,9 @@ void init_RU(char *rf_config_file) { ...@@ -2771,6 +2771,9 @@ void init_RU(char *rf_config_file) {
void stop_ru(RU_t *ru) { void stop_ru(RU_t *ru) {
#if defined(PRE_SCD_THREAD) || defined(PHY_TX_THREAD)
int *status;
#endif
printf("Stopping RU %p processing threads\n",(void*)ru); printf("Stopping RU %p processing threads\n",(void*)ru);
#if defined(PRE_SCD_THREAD) #if defined(PRE_SCD_THREAD)
if(ru){ if(ru){
......
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