Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix offset updating trailer: swap_and_final_erase
When wolfBoot_swap_and_final_erase() is invoked, it was calculating the wrong offset, ending up erasing the third-last sector of the boot partition. This might cause erasing part of the firmware, eventually causing failed boot.
- Loading branch information