mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
sdmmc: add communication check for eMMC after frequency switch
This commit is contained in:
@@ -117,7 +117,9 @@ esp_err_t sdmmc_card_init(const sdmmc_host_t* config, sdmmc_card_t* card)
|
||||
|
||||
/* Sanity check after switching the bus mode and frequency */
|
||||
SDMMC_INIT_STEP(is_sdmem, sdmmc_check_scr);
|
||||
/* TODO: add similar checks for eMMC and SDIO */
|
||||
/* TODO: this is CMD line only, add data checks for eMMC */
|
||||
SDMMC_INIT_STEP(is_mmc, sdmmc_init_mmc_check_csd);
|
||||
/* TODO: add similar checks for SDIO */
|
||||
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user