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> (cherry picked from commit f5454f16)
Loading
Please sign in to comment