mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
liblitesdcard/sdcard: return error code outside '#ifdef SDCARD_DEBUG'
This commit is contained in:
parent
499d291daa
commit
c52731d1f1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue