Skip to content

Commit 0572d34

Browse files
committed
fix wrong conditional compile flag
1 parent ef5ef95 commit 0572d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/update_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ static int wolfBoot_swap_and_final_erase(int resume)
247247
}
248248

249249
hal_flash_unlock();
250-
#ifdef EXT_ENCRYPTED
250+
#ifdef EXT_FLASH
251251
ext_flash_unlock();
252252
#endif
253253

0 commit comments

Comments
 (0)