revert "Add version rollback function for OTA"

This commit is contained in:
wgzAIIT
2023-05-08 13:59:41 +08:00
parent 4b40ae19dc
commit 33abc16c67
3 changed files with 19 additions and 19 deletions
@@ -413,8 +413,9 @@ void InitBoardHardware()
KPrintf("board init done.\n");
KPrintf("start kernel...\n");
#ifdef MCUBOOT_APPLICATION
/* Clear the lastjumpflag after the jump is successful.*/
app_clear_jumpflag();
#ifdef TOOL_USING_OTA
FLASH_Init();
//跳转成功将对应跳转失败标志设置
FLASH_DeInit();
#endif
}