Skip to content
Commit 683dbc45 authored by Ron Smith's avatar Ron Smith Committed by Christopher Friedt
Browse files

drivers: serial: uart_sam0: Fix async tx done event triggering to early.



uart_sam0_dma_tx_done callback triggers when the last byte
is transferred from the tx sram buffer to the sercom DATA register.
However the byte has yet to be transmitted completely which can lead to
incorrect event handling if UART_TX_DONE is expected to signal
the end of transmission.

Signed-off-by: default avatarRon Smith <rockyowl171@gmail.com>
parent a0d92453
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment