remove global visibility of log variables, remove circular .h dependancy

This commit is contained in:
Laurent THOMAS
2024-03-06 08:51:24 +01:00
parent b99e856733
commit 2129ee3c9c
20 changed files with 36 additions and 119 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
#include "common/ran_context.h"
#include "RRC/LTE/rrc_extern.h"
#include "PHY_INTERFACE/phy_interface.h"
#include "common/utils/LOG/log_extern.h"
#include "common/utils/LOG/log.h"
#include "UTIL/OTG/otg_tx.h"
#include "UTIL/OTG/otg_externs.h"
#include "UTIL/MATH/oml.h"
+2 -4
View File
@@ -138,10 +138,8 @@ void get_common_options(configmodule_interface_t *cfg, uint32_t execmask)
}
if (logmem_filename != NULL && strlen(logmem_filename) > 0) {
log_mem_filename = &logmem_filename[0];
log_mem_flag = 1;
printf("Enabling OPT for log save at memory %s\n",log_mem_filename);
logInit_log_mem();
printf("Enabling OPT for log save at memory %s\n",logmem_filename);
logInit_log_mem(logmem_filename);
}
if (noS1) {