git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5403 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2013-03-10 11:21:07 +00:00
parent a9ec45714f
commit 152cacac1f
1 changed files with 1 additions and 0 deletions

View File

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