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