adriendesp commented on PR #16534: URL: https://github.com/apache/nuttx/pull/16534#issuecomment-3109001534
Hey, I noticed that in stm32h7/stm32_adc.c, ln 1481 the stm32_dmasetup() call has 5 arguments ``` stm32_dmasetup(priv->dma, priv->base + STM32_ADC_DR_OFFSET, (uint32_t)priv->r_dmabuffer, priv->rnchannels * priv->dmabatch, ADC_DMA_CONTROL_WORD); ``` But in stm32h7/stm32_dma.h, the function uses a stm32_dmacfg_t struct. ``` /**************************************************************************** * Name: stm32_dmasetup * * Description: * Configure DMA before using * ****************************************************************************/ void stm32_dmasetup(DMA_HANDLE handle, stm32_dmacfg_t *cfg); ``` It seems that this is a WIP, so maybe you're aware of this already ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org