Merge remote-tracking branch 'origin/xidatong-arm32' into jerryscript

This commit is contained in:
wgzAIIT 2023-09-21 13:45:21 +08:00
commit d14272c55f
2 changed files with 3 additions and 3 deletions

View File

@ -395,7 +395,7 @@ int MountSDCard()
bool GetSdMountStatus(void) bool GetSdMountStatus(void)
{ {
if(!is_mount_ok) 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; return is_mount_ok;
} }

View File

@ -1014,7 +1014,7 @@ reconnect:
} }
} }
#ifdef USING_DOWNLOAD_JSON #ifdef USING_DOWNLOAD_JSON
// 3.下载json文件,SD卡要确保已经插入 // 3.下载json文件,SD卡要确保已经插入并mount成功
extern bool GetSdMountStatus(void); extern bool GetSdMountStatus(void);
if(strstr((char *)Platform_mqtt.cmdbuff,jsontopicdatabuff) && GetSdMountStatus()) if(strstr((char *)Platform_mqtt.cmdbuff,jsontopicdatabuff) && GetSdMountStatus())
{ {