Skip to content

Commit fdce0bb

Browse files
committed
Don't update the state flags in WRITEONCE mode
1 parent e1aa0b1 commit fdce0bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libwolfboot.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ void RAMFUNCTION wolfBoot_update_trigger(void)
753753
* not match what's in wolfBoot */
754754
if (FLAGS_UPDATE_EXT()) {
755755
ext_flash_erase(lastSector, SECTOR_FLAGS_SIZE);
756-
wolfBoot_set_partition_state(PART_UPDATE, st);
757756
} else {
758757
#ifndef NVM_FLASH_WRITEONCE
759758
hal_flash_erase(lastSector, SECTOR_FLAGS_SIZE);

0 commit comments

Comments
 (0)