Skip to content

Commit

Permalink
logs: warning in case no image in secondary slot
Browse files Browse the repository at this point in the history
not an actual error in case MCU is freshly flashed
  • Loading branch information
fouge committed May 7, 2024
1 parent 7fc4d80 commit 247902e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dfu/dfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ dfu_version_secondary_get(struct image_version *ih_ver)
// if flash is erased, no image present
if (secondary_slot_header.ih_ver.iv_build_num == 0xFFFFFFFFLU &&
secondary_slot_header.ih_ver.iv_revision == 0xFFFFLU) {
LOG_ERR("Secondary slot is erased");
LOG_WRN("Secondary slot is erased");
ret = RET_ERROR_NOT_FOUND;
goto exit;
}
Expand Down

0 comments on commit 247902e

Please sign in to comment.