commit | 24c03bfacbbbd87588358ce9c6b9b9c9768c925c | [log] [tgz] |
---|---|---|
author | Fabian Kainka <kainka@cognid.de> | Thu Mar 14 15:36:32 2024 +0100 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Mar 27 15:18:11 2024 +0000 |
tree | 972f204c66f12518a90d6967a2c47358f2ab4cd4 | |
parent | a1893c58905cbfc3e75de6ea3f26c8635b9aa822 [diff] |
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: Fabian Kainka <kainka@cognid.de>