From 8fb9574e78c2361e5255012ea706afee9393fa00 Mon Sep 17 00:00:00 2001 From: payton Date: Tue, 16 Jan 2024 17:23:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=9B=BA=E5=AE=9A=E6=9C=89=E5=8D=A1=E4=BD=BF?= =?UTF-8?q?=E5=86=85=E5=AD=98=E5=8F=91=E9=80=81=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c | 2 +- rtos/code/driver/na51089/source/mcu/sf_mcu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c b/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c index 758894718..58f9d8dee 100755 --- a/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c +++ b/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c @@ -442,7 +442,7 @@ unsigned char sf_mcu_reg_set(MCUParam_t attrId, unsigned char val) SF_PARA_TIME_S date = { 0 }; UINT8 PowerOnMode = sf_poweron_type_get(); SINT32 isUsb = sf_usb_IsInsert(); - SINT32 isCard = sf_in_card_exist(); + SINT32 isCard = 1;//sf_in_card_exist(); SINT32 isCardFull = sf_is_card_full(); //CameraBootSetting_t* pCameraBootSetting = CameraBootSettingGetHandle(); sf_set_sim_insert(1);//Remove hardware detection SIM card diff --git a/rtos/code/driver/na51089/source/mcu/sf_mcu.c b/rtos/code/driver/na51089/source/mcu/sf_mcu.c index 9a392d83e..299dc350b 100755 --- a/rtos/code/driver/na51089/source/mcu/sf_mcu.c +++ b/rtos/code/driver/na51089/source/mcu/sf_mcu.c @@ -1422,7 +1422,7 @@ UINT8 sf_mcu_reg_set(MCUParam_t attrId, UINT8 val) if(attrId != SF_MCU_CTRL_MODULE_PIR)//AND LDS SECTION_01 loading order. { isUsb = sf_is_usb_flag(); - isCard = sf_in_card_exist(); + isCard = 1;//sf_in_card_exist(); isCardFull = sf_is_card_full(); PowerOnMode = sf_get_power_on_mode(); if(APP_POWER_OFF_BATT_EMPTY == sf_get_power_off_flag())