This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit f5571b2550c6dd157232fe7b7da9f01c08383f82
Author: Jukka Laitinen <[email protected]>
AuthorDate: Tue Aug 20 15:35:24 2019 +0300

    arch/arm/src/stm32h7/stm32_dma.c: Fix DEBUGASSERT compilation
    
    Signed-off-by: Jukka Laitinen <[email protected]>
---
 arch/arm/src/stm32h7/stm32_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32h7/stm32_dma.c b/arch/arm/src/stm32h7/stm32_dma.c
index 4b28c78..bc6cdb1 100644
--- a/arch/arm/src/stm32h7/stm32_dma.c
+++ b/arch/arm/src/stm32h7/stm32_dma.c
@@ -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

Reply via email to