统一日志函数,方便问题排查

lowmem
Matthew 1 month ago
parent afae4794d3
commit f216640381

File diff suppressed because it is too large Load Diff

@ -392,7 +392,7 @@ void Gm_OpenSerialPort(int devidx);
// 关闭串口通讯 // 关闭串口通讯
void Gm_CloseSerialPort(); void Gm_CloseSerialPort();
void DebugLog(int commid, const char *szbuf, char flag); void DBG_LOG(int commid, char flag, const char* format, ...);
int SaveLogTofile(int commid, const char *szbuf); int SaveLogTofile(int commid, const char *szbuf);
// 功能说明:串口发送数据 返回实际发送的字节数 // 功能说明:串口发送数据 返回实际发送的字节数
int GM_SerialComSend(const unsigned char * cSendBuf, size_t nSendLen, int commid); int GM_SerialComSend(const unsigned char * cSendBuf, size_t nSendLen, int commid);

Loading…
Cancel
Save