projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
499d291
)
liblitesdcard/sdcard: return error code outside '#ifdef SDCARD_DEBUG'
author
Gabriel Somlo
<gsomlo@gmail.com>
Sat, 4 Jul 2020 19:24:05 +0000
(15:24 -0400)
committer
Gabriel Somlo
<gsomlo@gmail.com>
Sat, 4 Jul 2020 19:24:05 +0000
(15:24 -0400)
litex/soc/software/liblitesdcard/sdcard.c
patch
|
blob
|
history
diff --git
a/litex/soc/software/liblitesdcard/sdcard.c
b/litex/soc/software/liblitesdcard/sdcard.c
index 222e78d117f041c0a02588056a4c0878c3b23c72..ac066eb1c572fd9bd3a8bed337f20a1655c8fdea 100644
(file)
--- a/
litex/soc/software/liblitesdcard/sdcard.c
+++ b/
litex/soc/software/liblitesdcard/sdcard.c
@@
-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;
}