xfdump_erase: remove redundant XFLASH_SPI_ENTER()

This commit is contained in:
Yuri D'Elia 2021-06-12 12:05:02 +02:00
parent 3187b96ca4
commit 9663653671

View File

@ -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)