xfdump_erase: remove redundant XFLASH_SPI_ENTER()
This commit is contained in:
parent
3187b96ca4
commit
9663653671
@ -38,7 +38,6 @@ void xfdump_reset()
|
|||||||
|
|
||||||
static void xfdump_erase()
|
static void xfdump_erase()
|
||||||
{
|
{
|
||||||
XFLASH_SPI_ENTER();
|
|
||||||
for(uint32_t addr = DUMP_OFFSET;
|
for(uint32_t addr = DUMP_OFFSET;
|
||||||
addr < DUMP_OFFSET + DUMP_SIZE;
|
addr < DUMP_OFFSET + DUMP_SIZE;
|
||||||
addr += 4096)
|
addr += 4096)
|
||||||
|
Loading…
Reference in New Issue
Block a user