修复待发文件为空的bug

This commit is contained in:
CSSC-WORK\murmur 2024-01-08 11:19:27 +08:00
parent 5d67920a44
commit dad783ca47

View File

@ -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);