xfdump: correctly erase all sectors in xfdump_erase
This commit is contained in:
parent
8ff9b184c2
commit
8d11ad9d2d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ static void xfdump_erase()
|
||||||
addr += 4096)
|
addr += 4096)
|
||||||
{
|
{
|
||||||
xflash_enable_wr();
|
xflash_enable_wr();
|
||||||
xflash_sector_erase(DUMP_OFFSET);
|
xflash_sector_erase(addr);
|
||||||
xflash_wait_busy();
|
xflash_wait_busy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue