boot: bootutil: loader.c: Add check if has upgrade before pushing state change
Before pushing MCUBOOT_STATUS_UPGRADING, check if has_upgrade is true to ensure this is not pushed at every boot and only when needed.
Signed-off-by:
Joseph Todd <joseph.todd@lascar.co.uk>
Loading
Please sign in to comment