You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/14 23:31:14 UTC

[incubator-nuttx] 02/04: arch/arm/src/stm32h7/stm32_dma.c: Fix DEBUGASSERT compilation

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 <ju...@intel.com>
AuthorDate: Tue Aug 20 15:35:24 2019 +0300

    arch/arm/src/stm32h7/stm32_dma.c: Fix DEBUGASSERT compilation
    
    Signed-off-by: Jukka Laitinen <ju...@intel.com>
---
 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