改变中文为gbk编码,否则vscode下vc竟然不认。

creator下要重新选择编码为gbk
为什么要中文呢?
This commit is contained in:
matt on matebook
2022-04-19 15:11:56 +08:00
parent ae0aa15575
commit bafb75c403
+1 -1
View File
@@ -18,7 +18,7 @@ void hal_uart_out_Start_wrapper(const uint8_T *uart_id, const int_T p_width0)
if(!temp->exists(TlogName))
{
qDebug() << "make dir tlog";
temp->mkdir(TlogName);//如果文件夹不存在就新建
temp->mkdir(TlogName);//如果文件夹不存在就新建
}
QString filename = QString(TlogName + "/")
+QDateTime::currentDateTime().toString("yyyyMMddhhmmss")