Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/update_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ static int wolfBoot_swap_and_final_erase(int resume)
#endif
);
int swapDone = 0;
uintptr_t tmpBootPos = WOLFBOOT_PARTITION_SIZE - eraseLen -
WOLFBOOT_SECTOR_SIZE;
uintptr_t tmpBootPos = WOLFBOOT_PARTITION_SIZE - eraseLen;
uint32_t tmpBuffer[TRAILER_OFFSET_WORDS + 1];

/* open partitions (ignore failure) */
Expand Down
Loading