stm32:sdio: fix wrong ifdefs

This was wrong but presumably did not matter.
This commit is contained in:
Julian Oes 2021-06-29 19:05:06 +02:00 committed by Xiang Xiao
parent 2a86335055
commit 6d6ca8f0b6
1 changed files with 2 additions and 2 deletions

View File

@ -2011,7 +2011,7 @@ static int stm32_recvsetup(FAR struct sdio_dev_s *dev, FAR uint8_t *buffer,
priv->buffer = (uint32_t *)buffer;
priv->remaining = nbytes;
#ifdef CONFIG_STM32_STM32_SDIO_DMA
#ifdef CONFIG_STM32_SDIO_DMA
priv->dmamode = false;
#endif
@ -2076,7 +2076,7 @@ static int stm32_sendsetup(FAR struct sdio_dev_s *dev,
priv->buffer = (uint32_t *)buffer;
priv->remaining = nbytes;
#ifdef CONFIG_STM32_STM32_SDIO_DMA
#ifdef CONFIG_STM32_SDIO_DMA
priv->dmamode = false;
#endif