No sd card show.
This commit is contained in:
parent
ab8819cc89
commit
8103657b8e
|
@ -314,8 +314,15 @@ static void update_camera_message(void)
|
||||||
}
|
}
|
||||||
UINT32 freePicNum = 0;
|
UINT32 freePicNum = 0;
|
||||||
// PhotoExe_GetTotalPicNum();
|
// PhotoExe_GetTotalPicNum();
|
||||||
UIStorageCheck(STORAGE_CHECK_FULL, &freePicNum);
|
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE)
|
||||||
lv_label_set_text(label_6_scr_uiflowmovie, Get_FreePicNumString(freePicNum));
|
{
|
||||||
|
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)
|
static void update_rec_time(void)
|
||||||
|
|
|
@ -409,8 +409,15 @@ static void update_camera_message(void)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
UIStorageCheck(STORAGE_CHECK_FULL, &g_uiFreePicNum);
|
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE)
|
||||||
lv_label_set_text(label_6_scr_uiflowphoto, Get_FreePicNumString(g_uiFreePicNum));
|
{
|
||||||
|
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)
|
static void update_fd_frame(void)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user