1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-31 13:32:52 +08:00

elog_file: 添加编译宏控制

This commit is contained in:
Ali.L 2024-02-17 17:51:52 +08:00
parent a26da77cbd
commit 83d162f947

View File

@ -35,6 +35,8 @@
#include "elog_file.h" #include "elog_file.h"
#ifdef ELOG_FILE_ENABLE
/* initialize OK flag */ /* initialize OK flag */
static bool init_ok = false; static bool init_ok = false;
static FILE *fp = NULL; static FILE *fp = NULL;
@ -175,3 +177,5 @@ void elog_file_config(ElogFileCfg *cfg)
elog_file_port_unlock(); elog_file_port_unlock();
} }
#endif /* ELOG_FILE_ENABLE */