arch/arm/src/stm32f7/stm32_sdmmc.c: Fix warning when DMA is not enabled.
This commit is contained in:
parent
b912c6fbff
commit
8493312f00
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue