mirror of https://github.com/rusefi/ChibiOS.git
SDIO. Deleted unneded sleep.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4252 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
2f6c0acd6a
commit
d406f96c22
|
@ -543,7 +543,6 @@ bool_t sdcErase(SDCDriver *sdcp, uint32_t startblk, uint32_t endblk) {
|
|||
return CH_FAILED;
|
||||
|
||||
/* Quick sleep to allow it to transition to programming or receiving state */
|
||||
chThdSleepMilliseconds(2);
|
||||
|
||||
/* Wait for it to return to transfer state to indicate it has finished erasing */
|
||||
_sdc_wait_for_transfer_state( sdcp );
|
||||
|
|
Loading…
Reference in New Issue