liblitesdcard/sdcard: decode cid only when SDCARD_DEBUG is set.

This commit is contained in:
Florent Kermarrec 2020-06-25 13:48:49 +02:00
parent c07703124f
commit e8f84c96a7
1 changed files with 2 additions and 1 deletions

View File

@ -440,8 +440,9 @@ int sdcard_init(void) {
/* send identification */
sdcard_all_send_cid();
#ifdef SDCARD_DEBUG
sdcard_decode_cid();
#endif
/* set relative card address */
sdcard_set_relative_address();
rca = (sdcard_response[3] >> 16) & 0xffff;