改变中文为gbk编码,否则vscode下vc竟然不认。
creator下要重新选择编码为gbk 为什么要中文呢?
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user