arch/arm/src/stm32f7/stm32_dma.c: fix debug ifdef

This commit is contained in:
Oleg 2020-07-22 14:10:01 +03:00 committed by Abdelatif Guettouche
parent 76c87d2f85
commit fd220e7a6c

View File

@ -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;