kopia lustrzana https://github.com/espressif/esp-idf
sdmmc_host/driver: Add module reset before enabling
rodzic
89d549c8a4
commit
aeda8e0c8f
|
@ -275,6 +275,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.
|
||||
|
|
Ładowanie…
Reference in New Issue