commit | a96a3f5afea643f519f54d1a8ecd8f503183c8f9 | [log] [tgz] |
---|---|---|
author | karim <karim.rabhi-ext@st.com> | Wed Sep 04 16:03:46 2024 +0100 |
committer | karim <karim.rabhi-ext@st.com> | Wed Sep 04 16:03:46 2024 +0100 |
tree | b95f8964b99d693a6cc7109c28c1427acf1167b8 | |
parent | 1c14d36d88722f9cd7ed48d842b5ad07330008c7 [diff] |
[HAL][UART] Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode
diff --git a/Src/stm32f0xx_hal_uart.c b/Src/stm32f0xx_hal_uart.c index 48b26b1..d75bf96 100644 --- a/Src/stm32f0xx_hal_uart.c +++ b/Src/stm32f0xx_hal_uart.c
@@ -3747,7 +3747,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*/