From 2f5aec3f3849a1287a007f33442e8fb619e641da Mon Sep 17 00:00:00 2001 From: payton Date: Sat, 7 Oct 2023 09:49:02 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=85=B3=E6=8E=89log=EF=BC=9B2.=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Drtos=E5=8F=AF=E8=83=BD=E8=AF=BB=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E6=A8=A1=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SrcCode/Dx/565_HUNTING_EVB_LINUX_4G_S530/DxHunting.c | 6 +++--- .../application/source/cardv/SrcCode/PrjCfg_HUNTING_S550.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rtos/code/application/source/cardv/SrcCode/Dx/565_HUNTING_EVB_LINUX_4G_S530/DxHunting.c b/rtos/code/application/source/cardv/SrcCode/Dx/565_HUNTING_EVB_LINUX_4G_S530/DxHunting.c index dee40df9c..f93c9a456 100755 --- a/rtos/code/application/source/cardv/SrcCode/Dx/565_HUNTING_EVB_LINUX_4G_S530/DxHunting.c +++ b/rtos/code/application/source/cardv/SrcCode/Dx/565_HUNTING_EVB_LINUX_4G_S530/DxHunting.c @@ -148,17 +148,17 @@ UINT32 DrvGPIO_GetPhotoMovieModeFromMonitor(void) //int ret = 1; UINT8 value; UIMenuStoreInfo *puiPara = sf_ui_para_get(); - + vos_perf_mark(&t1); + value = sf_get_power_on_mode(); + if(gpio_getIntStatus(GPIO_INT_USBPLUGIN) || FALSE == (gpio_getPin(GPIO_CARD_DETECT) == 0 ? TRUE : FALSE)) { g_uiBootMode = DX_HUNTING_MODE_OTHER; Save_MenuInfo(); return g_uiBootMode; } - vos_perf_mark(&t1); // ret = sf_mod_init(); // printf("%s:%d ret:%d\n", __FUNCTION__, __LINE__,ret); - value = sf_get_power_on_mode(); //sf_mcu_power_on_para_get(SF_MCU_POWERON); //sf_mcu_wdg_set(5); //sf_mcu_reg_set(SF_MCU_CTRL_MODULE_PIR, 1); diff --git a/rtos/code/application/source/cardv/SrcCode/PrjCfg_HUNTING_S550.h b/rtos/code/application/source/cardv/SrcCode/PrjCfg_HUNTING_S550.h index 1e47a0673..d03e34eaf 100755 --- a/rtos/code/application/source/cardv/SrcCode/PrjCfg_HUNTING_S550.h +++ b/rtos/code/application/source/cardv/SrcCode/PrjCfg_HUNTING_S550.h @@ -95,7 +95,7 @@ #define POWERON_TRACE DISABLE //stop and wait for user enter cmd: "dsc boot" #define POWERON_BOOT_REPORT ENABLE #define POWERON_FAST_BOOT DISABLE -#define POWERON_FAST_BOOT_MSG ENABLE//DISABLE // disable boot msg for fast boot, but hard to debug +#define POWERON_FAST_BOOT_MSG DISABLE // disable boot msg for fast boot, but hard to debug #define POWERON_FAST_CPU2_BOOT DISABLE #define POWERON_FAST_RECORD DISABLE #define POWERON_FAST_WIFI DISABLE //NOTE: need to enable POWERON_FAST_CPU2_BOOT too