Cosmetics

This commit is contained in:
bsongis
2014-10-14 22:43:47 +02:00
parent 874156122d
commit 52040406a4
2 changed files with 4 additions and 8 deletions
+3 -4
View File
@@ -1304,15 +1304,14 @@ DRESULT disk_read (
}
} while ( count ) ;
if (!count) {
IO_MUTEX_LEAVE();
IO_MUTEX_LEAVE();
if (!count)
return RES_OK;
}
if (++sdErrorCount > 3)
Card_state = SD_ST_ERR;
IO_MUTEX_LEAVE();
return RES_ERROR;
}