You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/07/22 12:37:12 UTC

[incubator-nuttx] branch master updated: arch/arm/src/stm32f7/stm32_dma.c: fix debug ifdef

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

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


The following commit(s) were added to refs/heads/master by this push:
     new fd220e7  arch/arm/src/stm32f7/stm32_dma.c: fix debug ifdef
fd220e7 is described below

commit fd220e7a6c85fe33836837302971810113d45479
Author: Oleg <ev...@gmail.com>
AuthorDate: Wed Jul 22 14:10:01 2020 +0300

    arch/arm/src/stm32f7/stm32_dma.c: fix debug ifdef
---
 arch/arm/src/stm32f7/stm32_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32f7/stm32_dma.c b/arch/arm/src/stm32f7/stm32_dma.c
index ef2d9cf..8040d17 100644
--- a/arch/arm/src/stm32f7/stm32_dma.c
+++ b/arch/arm/src/stm32f7/stm32_dma.c
@@ -1040,7 +1040,7 @@ bool stm32_dmacapable(uint32_t maddr, uint32_t count, uint32_t ccr)
  *
  ****************************************************************************/
 
-#ifdef CONFIG_DEBUG_DMA
+#ifdef CONFIG_DEBUG_DMA_INFO
 void stm32_dmasample(DMA_HANDLE handle, struct stm32_dmaregs_s *regs)
 {
   struct stm32_dma_s *dmast = (struct stm32_dma_s *)handle;