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

This commit is contained in:
Gabriel Somlo 2020-07-04 15:24:05 -04:00
parent 499d291daa
commit c52731d1f1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }