Skip to content

Commit 6748d53

Browse files
committed
[HAL][UART] Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode
1 parent b6e84df commit 6748d53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Src/stm32c0xx_hal_uart.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3844,7 +3844,6 @@ static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma)
38443844
{
38453845
UART_HandleTypeDef *huart = (UART_HandleTypeDef *)(hdma->Parent);
38463846
huart->RxXferCount = 0U;
3847-
huart->TxXferCount = 0U;
38483847

38493848
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
38503849
/*Call registered error callback*/

0 commit comments

Comments
 (0)