1.显示预览时增加log查看时间

This commit is contained in:
payton 2023-11-16 09:49:25 +08:00
parent 75bff8a174
commit 05803937c0

View File

@ -2265,6 +2265,16 @@ static void PhotoExe_DispCB(void)
HD_VIDEO_FRAME video_frame = {0}; HD_VIDEO_FRAME video_frame = {0};
HD_RESULT ret; HD_RESULT ret;
PHOTO_DISP_INFO *p_disp = NULL; PHOTO_DISP_INFO *p_disp = NULL;
#if HUNTING_CAMERA_MCU == ENABLE
static int tmp = 1;
if(tmp)//test log
{
tmp = 0;
printf("[%s:%d]ret=%d\n", __FUNCTION__, __LINE__, ret);
}
#endif
p_disp = UIAppPhoto_get_DispConfig(UIAPP_PHOTO_DISP_ID_1); p_disp = UIAppPhoto_get_DispConfig(UIAPP_PHOTO_DISP_ID_1);
//p_disp->enable = TRUE; //p_disp->enable = TRUE;
if(0 != System_GetState(SYS_STATE_SLEEPLEVEL)){ if(0 != System_GetState(SYS_STATE_SLEEPLEVEL)){