git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5403 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
a9ec45714f
commit
152cacac1f
|
@ -562,6 +562,7 @@ bool_t sdcErase(SDCDriver *sdcp, uint32_t startblk, uint32_t endblk) {
|
|||
/* Wait for it to return to transfer state to indicate it has finished erasing */
|
||||
_sdc_wait_for_transfer_state(sdcp);
|
||||
|
||||
sdcp->state = BLK_READY;
|
||||
return CH_SUCCESS;
|
||||
|
||||
failed:
|
||||
|
|
Loading…
Reference in New Issue