liblitesdcard/sdcard: return error code outside '#ifdef SDCARD_DEBUG'
This commit is contained in:
parent
499d291daa
commit
c52731d1f1
|
@ -55,8 +55,8 @@ int sdcard_wait_cmd_done(void) {
|
||||||
else if (cmdevt & 0x8) {
|
else if (cmdevt & 0x8) {
|
||||||
#ifdef SDCARD_DEBUG
|
#ifdef SDCARD_DEBUG
|
||||||
printf("cmdevt: SD_CRCERROR\n");
|
printf("cmdevt: SD_CRCERROR\n");
|
||||||
return SD_CRCERROR;
|
|
||||||
#endif
|
#endif
|
||||||
|
return SD_CRCERROR;
|
||||||
}
|
}
|
||||||
return SD_OK;
|
return SD_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue