No sd card show.

This commit is contained in:
xiaojiazhu 2023-10-09 11:22:49 +08:00
parent ab8819cc89
commit 8103657b8e
2 changed files with 18 additions and 4 deletions

View File

@ -314,8 +314,15 @@ static void update_camera_message(void)
}
UINT32 freePicNum = 0;
// PhotoExe_GetTotalPicNum();
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE)
{
lv_label_set_text(label_6_scr_uiflowmovie, "NO SD CARD");
}
else
{
UIStorageCheck(STORAGE_CHECK_FULL, &freePicNum);
lv_label_set_text(label_6_scr_uiflowmovie, Get_FreePicNumString(freePicNum));
}
}
static void update_rec_time(void)

View File

@ -409,8 +409,15 @@ static void update_camera_message(void)
default:
break;
}
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE)
{
lv_label_set_text(label_6_scr_uiflowphoto, "NO SD CARD");
}
else
{
UIStorageCheck(STORAGE_CHECK_FULL, &g_uiFreePicNum);
lv_label_set_text(label_6_scr_uiflowphoto, Get_FreePicNumString(g_uiFreePicNum));
}
}
static void update_fd_frame(void)