Cleanup 3

This commit is contained in:
Damjan Adamic
2016-09-11 11:21:58 +02:00
parent 8899d70e08
commit 8e3a228fc9
2 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -76,9 +76,10 @@ DSTATUS disk_initialize (
} }
/*-------------------------- SD Init ----------------------------- */ /*-------------------------- SD Init ----------------------------- */
if (SD_Init() != SD_OK) SD_Error res = SD_Init();
if (res != SD_OK)
{ {
TRACE("SD_Init() failed"); TRACE("SD_Init() failed: %d", res);
stat |= STA_NOINIT; stat |= STA_NOINIT;
} }