Skip to content
Commit 24c03bfa authored by Fabian Kainka's avatar Fabian Kainka Committed by Fabio Baltieri
Browse files

serial: uart_native_tty: Polling thread fix



Addresses an issue where attempts to transmit data fail.
The identified cause of this failure is the handling of the
`rx_irq_enable` and `tx_irq_enable` flags. The `else if` handling the
`tx_irq_enable` was replaced by an `if` so both flags can be true,
and both functions can be called. This fix was tested with the
`cellular_modem` example successfully.

Signed-off-by: default avatarFabian Kainka <kainka@cognid.de>
parent a1893c58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment