修改sd卡未读取时默认值为00000/00000

This commit is contained in:
xiehongyan 2024-02-05 20:17:10 +08:00
parent 521c79c1d3
commit dd3b89d23e

View File

@ -750,7 +750,7 @@ static void update_sd_emmc_status(void)
UINT16 idRight;
BOOL setWarning = false;
BOOL showError = true;
textLabel = " ";
textLabel = "00000/00000";
if(sf_in_emmc_exist())
{
@ -788,7 +788,7 @@ static void update_sd_emmc_status(void)
if (NULL == textLabel)
{
printf("[%s:%d] wait loading num : %s\n", __FUNCTION__, __LINE__, textLabel);
textLabel = " ";
textLabel = "00000/00000";
}
textLabelError = " ";
setWarning = false;
@ -840,7 +840,7 @@ static void update_sd_emmc_status(void)
if (NULL == textLabel)
{
printf("[%s:%d] wait loading num : %s\n", __FUNCTION__, __LINE__, textLabel);
textLabel = " ";
textLabel = "00000/00000";
}
textLabelError = " ";
setWarning = false;
@ -856,7 +856,7 @@ static void update_sd_emmc_status(void)
if (NULL == textLabel)
{
printf("[%s:%d] wait loading num : %s\n", __FUNCTION__, __LINE__, textLabel);
textLabel = " ";
textLabel = "00000/00000";
}
textLabelError = "SD Card Error, Please format it";
lv_obj_set_x(label_7_scr_uiflowphoto, 56);
@ -873,7 +873,7 @@ static void update_sd_emmc_status(void)
if (NULL == textLabel)
{
printf("[%s:%d] wait loading num : %s\n", __FUNCTION__, __LINE__, textLabel);
textLabel = " ";
textLabel = "00000/00000";
}
textLabelError = " ";
setWarning = false;
@ -889,7 +889,7 @@ static void update_sd_emmc_status(void)
if (NULL == textLabel)
{
printf("[%s:%d] wait loading num : %s\n", __FUNCTION__, __LINE__, textLabel);
textLabel = " ";
textLabel = "00000/00000";
}
textLabelError = "EMMC Error, Please format it";
lv_obj_set_x(label_7_scr_uiflowphoto, 62);
@ -930,7 +930,7 @@ static void update_sd_emmc_status(void)
if (NULL == textLabel)
{
printf("[%s:%d] wait loading num : %s\n", __FUNCTION__, __LINE__, textLabel);
textLabel = " ";
textLabel = "00000/00000";
}
textLabelError = " ";
setWarning = false;