mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/lpc2387: Fixed invalid call to send_msg in lpc2387-mci.c
At `lpc2387-mci.c:383` in `send_cmd()` an `assert()` enforces that parameter `buff` is not `NULL`. At `lpc2387-mci.c:538` in `mci_initialize()` `send_cmd()` was called with `buff==NULL`.
This commit is contained in:
parent
fce5c758f7
commit
2c901ff181
@ -535,7 +535,7 @@ diskio_sta_t mci_initialize(void)
|
||||
//for (Timer[0] = 2; Timer[0]; );
|
||||
xtimer_usleep(250);
|
||||
|
||||
send_cmd(CMD0, 0, 0, NULL); /* Enter idle state */
|
||||
send_cmd(CMD0, 0, 0, resp); /* Enter idle state */
|
||||
CardRCA = 0;
|
||||
|
||||
/*---- Card is 'idle' state ----*/
|
||||
|
Loading…
Reference in New Issue
Block a user