mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
sdmmc: send init sequence before CMD0
This commit is contained in:
@@ -250,6 +250,9 @@ static sdmmc_hw_cmd_t make_hw_cmd(sdmmc_command_t* cmd)
|
|||||||
res.send_auto_stop = 1;
|
res.send_auto_stop = 1;
|
||||||
res.data_expected = 1;
|
res.data_expected = 1;
|
||||||
}
|
}
|
||||||
|
if (cmd->opcode == MMC_GO_IDLE_STATE) {
|
||||||
|
res.send_init = 1;
|
||||||
|
}
|
||||||
if (cmd->flags & SCF_RSP_PRESENT) {
|
if (cmd->flags & SCF_RSP_PRESENT) {
|
||||||
res.response_expect = 1;
|
res.response_expect = 1;
|
||||||
if (cmd->flags & SCF_RSP_136) {
|
if (cmd->flags & SCF_RSP_136) {
|
||||||
|
Reference in New Issue
Block a user