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