Eliminate un-needed wait in rp2040 SMART filesystem
This commit is contained in:
parent
d3b226aea1
commit
05b19e02d9
@ -256,8 +256,6 @@ static int rp2040_flash_erase(struct mtd_dev_s *dev,
|
|||||||
nblocks,
|
nblocks,
|
||||||
FLASH_BLOCK_SIZE * nblocks);
|
FLASH_BLOCK_SIZE * nblocks);
|
||||||
|
|
||||||
usleep(500000);
|
|
||||||
|
|
||||||
ret = nxsem_wait(&(rp_dev->sem));
|
ret = nxsem_wait(&(rp_dev->sem));
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user