Skip to content
Commit ecc66524 authored by Jan Peters's avatar Jan Peters Committed by Carles Cufí
Browse files

drivers: uart_mcux_lpuart: move critical function call out of assert()



without the call of LPUART_ClearStatusFlags(), the interrupt can
immediately trigger again, blocking the application.
CONFIG_ASSERTS=n removes the assert() including the call of
LPUART_ClearStatusFlags().
Also removed LPUART_ClearStatusFlags call for unclearable
kLPUART_TransmissionCompleteFlag.

Signed-off-by: default avatarJan Peters <peters@kt-elektronik.de>
parent f260dc10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment