From 3b96771febac4791e37a95b30ba64676c5c14e22 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 4 Jul 2017 12:50:22 +0800 Subject: [PATCH] sdmmc: fix probing clock frequency Probing clock frequency should be 400kHz, not 4MHz. --- components/driver/include/driver/sdmmc_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/driver/include/driver/sdmmc_types.h b/components/driver/include/driver/sdmmc_types.h index dfbd2439c..d9ffde3ff 100644 --- a/components/driver/include/driver/sdmmc_types.h +++ b/components/driver/include/driver/sdmmc_types.h @@ -113,7 +113,7 @@ typedef struct { int max_freq_khz; /*!< max frequency supported by the host */ #define SDMMC_FREQ_DEFAULT 20000 /*!< SD/MMC Default speed (limited by clock divider) */ #define SDMMC_FREQ_HIGHSPEED 40000 /*!< SD High speed (limited by clock divider) */ -#define SDMMC_FREQ_PROBING 4000 /*!< SD/MMC probing speed */ +#define SDMMC_FREQ_PROBING 400 /*!< SD/MMC probing speed */ float io_voltage; /*!< I/O voltage used by the controller (voltage switching is not supported) */ esp_err_t (*init)(void); /*!< Host function to initialize the driver */ esp_err_t (*set_bus_width)(int slot, size_t width); /*!< host function to set bus width */