commit | 79d2cd9f4dd20bcfbcf30476b4df9112e270f6ee | [log] [tgz] |
---|---|---|
author | Rania JMAI <rania.jmai@st.com> | Wed Dec 06 09:25:46 2023 +0100 |
committer | Rania JMAI <rania.jmai@st.com> | Wed Dec 06 09:36:05 2023 +0100 |
tree | 32f1c5fcb18f2415c9dd5bc7fd4760e25e7469a8 | |
parent | 87047e59aa3883da281a7de519723545e6be4513 [diff] |
[HAL][DMA] Update State machine implementation in HAL_DMA_Init() API edit 5b71eec [HAL][DMA] Update State machine implementation in HAL_DMA_Init() API
diff --git a/Src/stm32f7xx_hal_dma.c b/Src/stm32f7xx_hal_dma.c index df3d285..e74cf9e 100644 --- a/Src/stm32f7xx_hal_dma.c +++ b/Src/stm32f7xx_hal_dma.c
@@ -276,7 +276,7 @@ hdma->ErrorCode = HAL_DMA_ERROR_PARAM; /* Change the DMA state */ - hdma->State = HAL_DMA_STATE_READY; + hdma->State = HAL_DMA_STATE_RESET; return HAL_ERROR; }