commit | 5319671fc6a52a3b58bf6895b602e7332f396c0a | [log] [tgz] |
---|---|---|
author | Rania JMAI <rania.jmai@st.com> | Mon Sep 16 16:50:32 2024 +0100 |
committer | Rania JMAI <rania.jmai@st.com> | Mon Sep 16 16:50:32 2024 +0100 |
tree | dcb1a0c20b5273a26eb78d75731445b27cf3d034 | |
parent | d232197f12c592d87944f0f462b2d5297750f762 [diff] |
[HAL][UART] Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode
diff --git a/Src/stm32f4xx_hal_uart.c b/Src/stm32f4xx_hal_uart.c index 4523a5d..d5c86c8 100644 --- a/Src/stm32f4xx_hal_uart.c +++ b/Src/stm32f4xx_hal_uart.c
@@ -3357,7 +3357,6 @@ { UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; huart->RxXferCount = 0x00U; - huart->TxXferCount = 0x00U; #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/