修复待发文件为空的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);
|
||||||
manualAaddlst(fnow);
|
if (getFileSize(fnow)) {//非空情况下加入待发列表
|
||||||
updateCacheFileName();
|
manualAaddlst(fnow);
|
||||||
cryptCdata(fnow);//密文覆盖明文
|
updateCacheFileName();
|
||||||
rt_thread_mdelay(1000);
|
cryptCdata(fnow);//密文覆盖明文
|
||||||
|
}
|
||||||
|
// rt_thread_mdelay(1000);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user