叠加读取串口
This commit is contained in:
@@ -65,7 +65,7 @@ void CLogger::SendAndFlush(LPCTSTR format, ...)
|
||||
LeaveCriticalSection(&m_lockLogger);
|
||||
}
|
||||
|
||||
//https://www.educative.io/answers/what-is-vswprintfs-in-c
|
||||
//vswprintf_s()参考连接:https://www.educative.io/answers/what-is-vswprintfs-in-c
|
||||
void CLogger::SendAndFlushWithTime(LPCTSTR format, ...)
|
||||
{
|
||||
EnterCriticalSection(&m_lockLogger);
|
||||
@@ -133,7 +133,6 @@ void CLogger::SendAndFlushPerMode(LPCTSTR format, ...)
|
||||
LeaveCriticalSection(&m_lockLogger);
|
||||
}
|
||||
|
||||
|
||||
string ConvertCharToString(char* a, int size)
|
||||
{
|
||||
int i;
|
||||
@@ -145,7 +144,6 @@ string ConvertCharToString(char* a, int size)
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
//删除指定目录以及目录下的所有文件
|
||||
#include <iostream>
|
||||
#include <io.h>
|
||||
@@ -153,7 +151,6 @@ string ConvertCharToString(char* a, int size)
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
void DelFiles(string path)
|
||||
{
|
||||
//在目录后面加上"\\*.*"进行第一次搜索
|
||||
|
||||
Reference in New Issue
Block a user