修复待发文件为空的bug
This commit is contained in:
parent
5d67920a44
commit
dad783ca47
@ -555,10 +555,12 @@ void getAndSendFile()
|
||||
//优先发送未达指定大小的文件
|
||||
char fnow[50];
|
||||
getLstCacheFileName(fnow);
|
||||
manualAaddlst(fnow);
|
||||
updateCacheFileName();
|
||||
cryptCdata(fnow);//密文覆盖明文
|
||||
rt_thread_mdelay(1000);
|
||||
if (getFileSize(fnow)) {//非空情况下加入待发列表
|
||||
manualAaddlst(fnow);
|
||||
updateCacheFileName();
|
||||
cryptCdata(fnow);//密文覆盖明文
|
||||
}
|
||||
// rt_thread_mdelay(1000);
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user