stm32, Framing error callback with dma uart channel

Viewed 17

I have an uart managed by dma rx channel.

In order to disable the error callback when a framing error comes (HAL_UART_ERROR_FE) I have comment out the line of code

huart->ErrorCode |= HAL_UART_ERROR_FE;

Is there a grace way to do that, without to edit the HAL libraries?

0 Answers
Related