stm32cube: stm32h7xx: drivers: Correct DMA source and destination addresses
The source and destination addresses in the HAL_MDMA_Start_IT call were swapped,
causing incorrect data transfers. The data buffer (pData) should be the source,
and the OSPI data register (DR) should be the destination. This commit fixes the
argument order to ensure proper data transmission via DMA.
Signed-off-by:
Khaoula Bidani <khaoula.bidani-ext@st.com>
Loading
Please sign in to comment