sdmmc_host/driver: Add module reset before enabling
This commit is contained in:
parent
41f91d3ef6
commit
051d2fbdd5
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ esp_err_t sdmmc_host_init()
|
|||
return ESP_ERR_INVALID_STATE;
|
||||
}
|
||||
|
||||
periph_module_reset(PERIPH_SDMMC_MODULE);
|
||||
periph_module_enable(PERIPH_SDMMC_MODULE);
|
||||
|
||||
// Enable clock to peripheral. Use smallest divider first.
|
||||
|
|
Loading…
Reference in a new issue