From 047ea89c30165f8d96c52d23b2097f7c72b9acaa Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 27 Jun 2016 08:27:44 -1000 Subject: [PATCH] Fixed config for D1 only --- arch/arm/src/stm32f7/stm32_sdmmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32f7/stm32_sdmmc.c b/arch/arm/src/stm32f7/stm32_sdmmc.c index d7d78f3006..cf78614e41 100644 --- a/arch/arm/src/stm32f7/stm32_sdmmc.c +++ b/arch/arm/src/stm32f7/stm32_sdmmc.c @@ -3171,7 +3171,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno) */ #ifndef CONFIG_SDIO_MUXBUS stm32_configgpio(GPIO_SDMMC1_D0); -#ifndef CONFIG_SDMMC_WIDTH_D1_ONLY +#ifndef CONFIG_SDMMC1_WIDTH_D1_ONLY stm32_configgpio(GPIO_SDMMC1_D1); stm32_configgpio(GPIO_SDMMC1_D2); stm32_configgpio(GPIO_SDMMC1_D3); @@ -3195,7 +3195,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno) #ifndef CONFIG_SDIO_MUXBUS stm32_configgpio(GPIO_SDMMC2_D0); -#ifndef CONFIG_SDMMC_WIDTH_D1_ONLY +#ifndef CONFIG_SDMMC2_WIDTH_D1_ONLY stm32_configgpio(GPIO_SDMMC2_D1); stm32_configgpio(GPIO_SDMMC2_D2); stm32_configgpio(GPIO_SDMMC2_D3);