From 9b7c49d7f4e75ef27bf4d49e3a0f63888dd2681c Mon Sep 17 00:00:00 2001 From: payton Date: Fri, 1 Sep 2023 10:00:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8Dsd=E5=8D=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/cardv/SrcCode/System/SysStrg_CB.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/application/source/cardv/SrcCode/System/SysStrg_CB.c b/code/application/source/cardv/SrcCode/System/SysStrg_CB.c index d9f9976ef..35e2b2872 100755 --- a/code/application/source/cardv/SrcCode/System/SysStrg_CB.c +++ b/code/application/source/cardv/SrcCode/System/SysStrg_CB.c @@ -164,7 +164,12 @@ void Strg_CB(UINT32 event, UINT32 param1, UINT32 param2) } #if HUNTING_CAMERA_MCU == ENABLE - if((FST_STA_OK != param2) && (CMD_FORMAT_SD_STA != sf_get_card_statu())){ + if((STRG_CB_MOUNT_FINISH == event) && (FST_STA_OK == param2) && (CMD_FORMAT_SD_STA != sf_get_card_statu())) + { + DBG_MSG("card-%d mount OK\r\n", param1 + 1); + } + else if((CMD_FORMAT_SD_STA != sf_get_card_statu())) + { stMessageBuf.arg1 = event; stMessageBuf.arg2 = param1; stMessageBuf.arg3 = param2;