mirror of
https://github.com/apache/nuttx.git
synced 2026-10-18 11:39:00 +00:00
STM32 SDIO: Remove warning about unused variable in STM32 F4 builds.
This commit is contained in:
parent
c9b15ebb6a
commit
17cbec16dc
1 changed files with 1 additions and 1 deletions
|
|
@ -2574,11 +2574,11 @@ static bool stm32_dmasupported(FAR struct sdio_dev_s *dev)
|
|||
static int stm32_dmapreflight(FAR struct sdio_dev_s *dev,
|
||||
FAR const uint8_t *buffer, size_t buflen)
|
||||
{
|
||||
#if !defined(CONFIG_STM32_STM32F40XX)
|
||||
struct stm32_dev_s *priv = (struct stm32_dev_s *)dev;
|
||||
|
||||
DEBUGASSERT(priv != NULL && buffer != NULL && buflen > 0);
|
||||
|
||||
#if !defined(CONFIG_STM32_STM32F40XX)
|
||||
/* Wide bus operation is required for DMA */
|
||||
|
||||
if (!priv->widebus)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue