xfdump: correctly erase all sectors in xfdump_erase
This commit is contained in:
parent
8ff9b184c2
commit
8d11ad9d2d
@ -44,7 +44,7 @@ static void xfdump_erase()
|
||||
addr += 4096)
|
||||
{
|
||||
xflash_enable_wr();
|
||||
xflash_sector_erase(DUMP_OFFSET);
|
||||
xflash_sector_erase(addr);
|
||||
xflash_wait_busy();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user