From dad783ca47fe25ed5dc514a3b411c93fda4e17f7 Mon Sep 17 00:00:00 2001 From: "CSSC-WORK\\murmur" Date: Mon, 8 Jan 2024 11:19:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=85=E5=8F=91=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=BA=E7=A9=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/core.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/applications/core.c b/applications/core.c index b6bfca5..5e4d98a 100644 --- a/applications/core.c +++ b/applications/core.c @@ -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);