添加装置重启功能和控制位写入功能
This commit is contained in:
@@ -113,12 +113,12 @@ extern LOG_TLS int g_log_code_tls; // 声明为 TLS 变量,定义见 log4.cpp
|
||||
int __old_code__ = g_log_code_tls; \
|
||||
g_log_code_tls = (int)(CODE_INT); \
|
||||
\
|
||||
char __msg_buf__[256]; \
|
||||
char __msg_buf__[512]; \
|
||||
format_log_msg(__msg_buf__, sizeof(__msg_buf__), __VA_ARGS__); \
|
||||
\
|
||||
const char* __key_raw__ = (KEY); \
|
||||
\
|
||||
char __key_buf__[256]; \
|
||||
char __key_buf__[512]; \
|
||||
switch ((int)(KEY_TYPE)) { \
|
||||
case 0: \
|
||||
snprintf(__key_buf__, sizeof(__key_buf__), "process"); \
|
||||
|
||||
Reference in New Issue
Block a user