Skip to content
Commit 21756751 authored by Andy Liu's avatar Andy Liu Committed by Ioannis Glaropoulos
Browse files

drivers: serial: Fix "mcux_lpuart_irq_tx_complete" returns wrong result



Use "kLPUART_TransmissionCompleteFlag" instead of
"kLPUART_TxDataRegEmptyFlag" to check if the tx transmition is finished.

The "kLPUART_TxDataRegEmptyFlag" would give a wrong result
even if the transmition isn't over.

Signed-off-by: default avatarAndy Liu <andy@madmachine.io>
parent c2e9c1fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment