Commit c52731d1 authored by Gabriel Somlo's avatar Gabriel Somlo

liblitesdcard/sdcard: return error code outside '#ifdef SDCARD_DEBUG'

parent 499d291d
......@@ -55,8 +55,8 @@ int sdcard_wait_cmd_done(void) {
else if (cmdevt & 0x8) {
#ifdef SDCARD_DEBUG
printf("cmdevt: SD_CRCERROR\n");
return SD_CRCERROR;
#endif
return SD_CRCERROR;
}
return SD_OK;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment