commit | cee3a4918a9498f175532917671d02a69c1d2d95 | [log] [tgz] |
---|---|---|
author | karim <karim.rabhi-ext@st.com> | Wed Sep 18 14:23:32 2024 +0100 |
committer | karim <karim.rabhi-ext@st.com> | Wed Sep 18 14:23:32 2024 +0100 |
tree | 78f6157f43c80fab4d3505ebd6c8dccfcd809098 | |
parent | 390fe69f9fe3677a746d6708d04528c29766ed34 [diff] |
[HAL][UART] Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode
diff --git a/Src/stm32l0xx_hal_uart.c b/Src/stm32l0xx_hal_uart.c index cf3ca2a..8e66aca 100644 --- a/Src/stm32l0xx_hal_uart.c +++ b/Src/stm32l0xx_hal_uart.c
@@ -3780,7 +3780,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*/