software/liblitesdcard/spisdcard: Update comment.

This commit is contained in:
Florent Kermarrec 2022-07-05 11:29:05 +02:00
parent 9f2b62d6e8
commit 4fef89af53
1 changed files with 4 additions and 1 deletions

View File

@ -172,7 +172,10 @@ static uint8_t spisdcardsend_cmd(uint8_t cmd, uint32_t arg)
return byte;
}
/* Select the card and wait for it, except for CMD12: STOP_TRANSMISSION */
/* Select the card and wait for it, except for:
- CMD12: STOP_TRANSMISSION.
- CMD0 : GO_IDLE_STATE.
*/
if (cmd != CMD12 && cmd != CMD0) {
spisdcard_deselect();
if (spisdcard_select() == 0)