Fix warn in overwrite-only with slot0 validation
Signed-off-by: Fabio Utzig <utzig@apache.org>
This commit is contained in:
parent
891f4fb023
commit
f70e302617
|
@ -43,7 +43,7 @@
|
|||
|
||||
static struct boot_loader_state boot_data;
|
||||
|
||||
#ifdef MCUBOOT_VALIDATE_SLOT0
|
||||
#if defined(MCUBOOT_VALIDATE_SLOT0) && !defined(MCUBOOT_OVERWRITE_ONLY)
|
||||
static int boot_status_fails = 0;
|
||||
#define BOOT_STATUS_ASSERT(x) \
|
||||
do { \
|
||||
|
|
Loading…
Reference in New Issue