arch/arm/src/stm32h7/stm32_dma.c: Fix DEBUGASSERT compilation

Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
This commit is contained in:
Jukka Laitinen
2019-08-20 15:35:24 +03:00
committed by patacongo
parent 8f559b1276
commit f5571b2550
+1 -1
View File
@@ -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);
#ifdef CONFIG_STM32H7_DMACAPABLE
DEBUGASSERT(g_dma_ops[controller].dma_capable(cfg));
DEBUGASSERT(stm32_sdma_capable(cfg));
#endif
/* "If the stream is enabled, disable it by resetting the EN bit in the