diff --git a/code/application/source/sf_app/code/source/app/sf_service.c b/code/application/source/sf_app/code/source/app/sf_service.c index 5604c330e..2cac82bec 100755 --- a/code/application/source/sf_app/code/source/app/sf_service.c +++ b/code/application/source/sf_app/code/source/app/sf_service.c @@ -2347,6 +2347,10 @@ static int sf_is_sdc_mounted(void) fclose(file); return 1; } + if (strstr(line, "/dev/mmcblk1p1") != NULL) { + fclose(file); + return 1; + } } fclose(file); @@ -2356,11 +2360,11 @@ int sf_check_sd(void) { UINT8 i = 0; int ret = SF_SUCCESS; - if(0 == sf_in_card_exist()) - { - NET_SLOGE("NO SD\r\n"); - return SF_FAILURE; - } + // if(0 == sf_in_card_exist()) + // { + // NET_SLOGE("NO SD\r\n"); + // return SF_FAILURE; + // } if (sf_sd_status_get() != SF_SD_OK) { ret = SF_FAILURE; for (i = 0; i < 20; i++)