mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
arch/arm/src/stm32h7/stm32_dma.c: Fix DEBUGASSERT compilation
Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
This commit is contained in:
committed by
patacongo
parent
8f559b1276
commit
f5571b2550
@@ -1238,7 +1238,7 @@ static void stm32_sdma_setup(DMA_HANDLE handle, FAR stm32_dmacfg_t *cfg)
|
|||||||
cfg->paddr, cfg->maddr, cfg->ndata, cfg->cfg1);
|
cfg->paddr, cfg->maddr, cfg->ndata, cfg->cfg1);
|
||||||
|
|
||||||
#ifdef CONFIG_STM32H7_DMACAPABLE
|
#ifdef CONFIG_STM32H7_DMACAPABLE
|
||||||
DEBUGASSERT(g_dma_ops[controller].dma_capable(cfg));
|
DEBUGASSERT(stm32_sdma_capable(cfg));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* "If the stream is enabled, disable it by resetting the EN bit in the
|
/* "If the stream is enabled, disable it by resetting the EN bit in the
|
||||||
|
|||||||
Reference in New Issue
Block a user