diff --git a/Ubiquitous/XiZi_IIoT/board/xidatong-arm32/third_party_driver/sdio/connect_sdio.c b/Ubiquitous/XiZi_IIoT/board/xidatong-arm32/third_party_driver/sdio/connect_sdio.c index 5397da037..c588285f0 100644 --- a/Ubiquitous/XiZi_IIoT/board/xidatong-arm32/third_party_driver/sdio/connect_sdio.c +++ b/Ubiquitous/XiZi_IIoT/board/xidatong-arm32/third_party_driver/sdio/connect_sdio.c @@ -285,7 +285,7 @@ static bool is_mount_ok = false; */ static int MountSDCardFs(enum FilesystemType fs_type) { - if (MountFilesystem(SDIO_BUS_NAME, SDIO_DEVICE_NAME, SDIO_DRIVER_NAME, fs_type, "/") == 0){ + if (MountFilesystem(SDIO_BUS_NAME, SDIO_DEVICE_NAME, SDIO_DRIVER_NAME, fs_type, "/") == 0) { KPrintf("Sd card mount to '/'"); is_mount_ok = true; } else { @@ -395,7 +395,7 @@ int MountSDCard() bool GetSdMountStatus(void) { if(!is_mount_ok) - KPrintf("The SD card was not mounted successfully or not inserted, please check!\r\n"); + KPrintf("SD card is not inserted or failed to mount, please check!\r\n"); return is_mount_ok; } diff --git a/Ubiquitous/XiZi_IIoT/tool/bootloader/ota/ota.c b/Ubiquitous/XiZi_IIoT/tool/bootloader/ota/ota.c index 42495fc86..173ff716c 100644 --- a/Ubiquitous/XiZi_IIoT/tool/bootloader/ota/ota.c +++ b/Ubiquitous/XiZi_IIoT/tool/bootloader/ota/ota.c @@ -1014,7 +1014,7 @@ reconnect: } } #ifdef USING_DOWNLOAD_JSON - // 3.下载json文件,SD卡要确保已经插入 + // 3.下载json文件,SD卡要确保已经插入并mount成功 extern bool GetSdMountStatus(void); if(strstr((char *)Platform_mqtt.cmdbuff,jsontopicdatabuff) && GetSdMountStatus()) {