commit | 3ab63994ab7c36ae066558714586c18ca771227f | [log] [tgz] |
---|---|---|
author | karim <karim.rabhi-ext@st.com> | Thu Sep 05 09:02:58 2024 +0100 |
committer | karim <karim.rabhi-ext@st.com> | Thu Sep 05 09:02:58 2024 +0100 |
tree | b59aea6d9e73162e7cf99098e38f1b9d50ad7878 | |
parent | d970b33e873cdbb58ed3883a332e4b8739746691 [diff] |
[HAL][UART] Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode
diff --git a/Src/stm32f3xx_hal_uart.c b/Src/stm32f3xx_hal_uart.c index aa1bed1..9cc5f99 100644 --- a/Src/stm32f3xx_hal_uart.c +++ b/Src/stm32f3xx_hal_uart.c
@@ -3579,7 +3579,6 @@ { UART_HandleTypeDef *huart = (UART_HandleTypeDef *)(hdma->Parent); huart->RxXferCount = 0U; - huart->TxXferCount = 0U; #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/