1.mcu升级优化
This commit is contained in:
parent
a2cb0cb71c
commit
ba4c4f471a
|
@ -1627,6 +1627,10 @@ void* sf_app_mcu_updata_thread(void *arg)
|
||||||
char *file_path = sf_root_path_strcat(UPGRADE_FIRMWARE_NANE);
|
char *file_path = sf_root_path_strcat(UPGRADE_FIRMWARE_NANE);
|
||||||
if(file_path == NULL)
|
if(file_path == NULL)
|
||||||
{
|
{
|
||||||
|
MLOGI(" sf_power_off_msg_to_cardv\n");
|
||||||
|
MLOGE("MCU_UPGRADE no file\n");
|
||||||
|
sf_set_mcu_update_flag(0);
|
||||||
|
sf_power_off_msg_to_cardv();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
ret = Fw_GetFirmwareSize(file_path, &McuFsize);
|
ret = Fw_GetFirmwareSize(file_path, &McuFsize);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user