Skip to content

Commit

Permalink
Fix: Log output for firmware started from flash
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Mar 3, 2021
1 parent 20de847 commit bc16cea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sd-bootloader-ng/bootmanager/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,12 @@ static bool prepareRun(sImageInfo* imageInfo, char* imagePath, uint32_t filesize
#endif
watchdog_feed();

Logger_info("Start firmware sd:%s ...", imagePath);
if (imageInfo->ofwSimBL) {
Logger_info("Start firmware flash:%s ...", GetFlashPathById(bootInfoData.firmware));
} else {
Logger_info("Start firmware sd:%s ...", imagePath);
}

Run((unsigned long)pImgRun);
}

Expand Down

0 comments on commit bc16cea

Please sign in to comment.