1.卡不行时dump屏蔽

This commit is contained in:
payton 2024-02-02 11:20:06 +08:00
parent 3a00ed7c90
commit b788cb4854
2 changed files with 20 additions and 14 deletions

View File

@ -323,7 +323,8 @@ static void MovieFast_ShutDown(void)
#if POWERON_BOOT_REPORT == ENABLE #if POWERON_BOOT_REPORT == ENABLE
DBG_DUMP("PhotoMovie mode = %u\n", mode); DBG_DUMP("PhotoMovie mode = %u\n", mode);
if((TRUE != sf_is_card_full()) || (TRUE != sf_is_emmc_full()))
{
if(mode == DX_HUNTING_MODE_PHOTO_MOVIE){ if(mode == DX_HUNTING_MODE_PHOTO_MOVIE){
MovieFast_PV_Info_Dump(); MovieFast_PV_Info_Dump();
} }
@ -336,6 +337,7 @@ static void MovieFast_ShutDown(void)
} }
vos_perf_list_dump(); vos_perf_list_dump();
}
#endif #endif
@ -1256,6 +1258,7 @@ static void MovieFast_UserEventCb(UINT32 id, MOVIE_USER_CB_EVENT event_id, UINT3
} }
} }
break; break;
/*
case MOVIE_USER_CB_ERROR_CARD_SLOW: case MOVIE_USER_CB_ERROR_CARD_SLOW:
{ {
sf_fastboot_msg_en(ENABLE); sf_fastboot_msg_en(ENABLE);
@ -1278,7 +1281,7 @@ static void MovieFast_UserEventCb(UINT32 id, MOVIE_USER_CB_EVENT event_id, UINT3
sf_fastboot_msg_en(ENABLE); sf_fastboot_msg_en(ENABLE);
DBG_ERR("EVENT %d: card full!\r\n", event_id); DBG_ERR("EVENT %d: card full!\r\n", event_id);
MovieFast_Set_Shutdown_flag(); MovieFast_Set_Shutdown_flag();
} }*/
break; break;
#if 0 #if 0
case MOVIE_USER_CB_EVENT_REC_ONE_SECOND: { case MOVIE_USER_CB_EVENT_REC_ONE_SECOND: {

View File

@ -2318,8 +2318,11 @@ static void PhotoFast_ShutDown(void)
#if HUNTING_CAMERA_BOOT_LINUX /* Boot Linux */ #if HUNTING_CAMERA_BOOT_LINUX /* Boot Linux */
#if POWERON_BOOT_REPORT == ENABLE #if POWERON_BOOT_REPORT == ENABLE
if((TRUE != sf_is_card_full()) || (TRUE != sf_is_emmc_full()))
{
vos_perf_list_dump(); vos_perf_list_dump();
PhotoFast_TriggerFrm_Dump(); PhotoFast_TriggerFrm_Dump();
}
#endif #endif
#if HUNTING_CAMERA_MCU == ENABLE #if HUNTING_CAMERA_MCU == ENABLE
#if SF_TRIGGER_TIME_TEST != ENABLE #if SF_TRIGGER_TIME_TEST != ENABLE