arch/arm/src/stm32f7/stm32_sdmmc.c: Fix warning when DMA is not enabled.

This commit is contained in:
David Sidrane 2019-08-28 06:47:54 -06:00 committed by Gregory Nutt
parent b912c6fbff
commit 8493312f00
1 changed files with 3 additions and 1 deletions

View File

@ -3197,7 +3197,9 @@ static int stm32_dmasendsetup(FAR struct sdio_dev_s *dev,
*
****************************************************************************/
#if defined(CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT)
#if defined(CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT) && \
defined(CONFIG_STM32F7_SDMMC_DMA)
static int stm32_dmadelydinvldt(FAR struct sdio_dev_s *dev,
FAR const uint8_t *buffer, size_t buflen)
{