Skip to content

Commit

Permalink
fix:修复编译失败
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozingfiretruck committed Jun 4, 2024
1 parent 1567916 commit 1c9759e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/luatos/src/luat_fota_ec618.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ int luat_fota_init(uint32_t start_address, uint32_t len, luat_spi_device_t* spi_
BSP_QSPI_Erase_Safe(__SOC_OTA_INFO_DATA_SAVE_ADDRESS__, __FLASH_SECTOR_SIZE__);
CoreUpgrade_HeadCalMD5Struct Head = {0};
Head.MaigcNum = __APP_START_MAGIC__;
FLASH_writeSafe((uint8_t *)&Head, __SOC_OTA_INFO_DATA_SAVE_ADDRESS__, sizeof(Head));
BSP_QSPI_Write_Safe((uint8_t *)&Head, __SOC_OTA_INFO_DATA_SAVE_ADDRESS__, sizeof(Head));
OS_ReInitBuffer(&g_s_fota.data_buffer, __FLASH_SECTOR_SIZE__ * 4);
return 0;
}
Expand Down

0 comments on commit 1c9759e

Please sign in to comment.