We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09e5f5 commit 4e4ff3cCopy full SHA for 4e4ff3c
src/libwolfboot.c
@@ -752,10 +752,8 @@ void RAMFUNCTION wolfBoot_update_trigger(void)
752
* FLAGS_INVERT needs erased flags because the bin-assemble's fill byte may
753
* not match what's in wolfBoot */
754
if (FLAGS_UPDATE_EXT()) {
755
-#ifndef NVM_FLASH_WRITEONCE
756
ext_flash_erase(lastSector, SECTOR_FLAGS_SIZE);
757
wolfBoot_set_partition_state(PART_UPDATE, st);
758
-#endif
759
} else {
760
#ifndef NVM_FLASH_WRITEONCE
761
hal_flash_erase(lastSector, SECTOR_FLAGS_SIZE);
0 commit comments