From f7a2b7c45a8ed381e61ff71a9171a2e3e63b5ac2 Mon Sep 17 00:00:00 2001 From: payton Date: Thu, 7 Dec 2023 16:15:29 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8Dcpu=E9=AB=98=E5=8D=A0?= =?UTF-8?q?=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/sf_app/code/source/app/sf_common.c | 1 + code/lib/source/sifar/code/source/common/sf_common.c | 1 + 2 files changed, 2 insertions(+) diff --git a/code/application/source/sf_app/code/source/app/sf_common.c b/code/application/source/sf_app/code/source/app/sf_common.c index 3ab5bbd5c..5ac84f093 100755 --- a/code/application/source/sf_app/code/source/app/sf_common.c +++ b/code/application/source/sf_app/code/source/app/sf_common.c @@ -984,6 +984,7 @@ void* app_message_recv_thread(void *arg) ret = sf_com_message_recv_from_app(&stMessagebuf); if(ret != SF_SUCCESS) { + usleep(5*1000); continue; } if(CMD_LED != stMessagebuf.cmdId) diff --git a/code/lib/source/sifar/code/source/common/sf_common.c b/code/lib/source/sifar/code/source/common/sf_common.c index 6b5ea124b..0334cd0ee 100755 --- a/code/lib/source/sifar/code/source/common/sf_common.c +++ b/code/lib/source/sifar/code/source/common/sf_common.c @@ -1921,6 +1921,7 @@ void* sf_cardv_message_thread(void *argv) ret = sf_com_message_recv_from_cardv(&stMessagebuf); if(ret !=SF_SUCCESS) { + usleep(5*1000); continue; } if((CMD_DEV != stMessagebuf.cmdId) && (CMD_MCU != stMessagebuf.cmdId))