From f47e0da90c283a117d1df92bc487f9603c9f675c Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Tue, 18 Dec 2018 07:40:42 -0600 Subject: [PATCH] arch/arm/src/stm32f7/stm32_sdmmc.c: Fix build error if CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT is not defined. --- arch/arm/src/stm32f7/stm32_sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32f7/stm32_sdmmc.c b/arch/arm/src/stm32f7/stm32_sdmmc.c index e9ac9ee129..da622bd701 100644 --- a/arch/arm/src/stm32f7/stm32_sdmmc.c +++ b/arch/arm/src/stm32f7/stm32_sdmmc.c @@ -3175,7 +3175,7 @@ static int stm32_dmasendsetup(FAR struct sdio_dev_s *dev, * ****************************************************************************/ -#ifdef CONFIG_STM32F7_SDMMC_DMA +#if defined(CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT) static int stm32_dmadelydinvldt(FAR struct sdio_dev_s *dev, FAR const uint8_t *buffer, size_t buflen) {