mirror of https://github.com/wolfSSL/wolfBoot.git
Fix bug in get_trailer_at()
parent
f008ebf606
commit
48496c3568
|
@ -267,7 +267,7 @@ static uint8_t* RAMFUNCTION get_trailer_at(uint8_t part, uint32_t at)
|
||||||
{
|
{
|
||||||
uint32_t sel_sec = 0;
|
uint32_t sel_sec = 0;
|
||||||
#ifdef NVM_FLASH_WRITEONCE
|
#ifdef NVM_FLASH_WRITEONCE
|
||||||
nvm_select_fresh_sector(part);
|
sel_sec = nvm_select_fresh_sector(part);
|
||||||
#endif
|
#endif
|
||||||
if (part == PART_BOOT) {
|
if (part == PART_BOOT) {
|
||||||
if (FLAGS_BOOT_EXT()){
|
if (FLAGS_BOOT_EXT()){
|
||||||
|
|
Loading…
Reference in New Issue