mirror of
https://github.com/apache/nuttx.git
synced 2026-05-09 23:12:17 +08:00
kinetis/serial: Do not fake TX interrupt
Because it is not needed anymore.
The original code here is from the initial implementation in the commit
66b873ef77.
Signed-off-by: Jiri Vlasak <jvlasak@elektroline.cz>
This commit is contained in:
@@ -2022,12 +2022,6 @@ static void up_txint(struct uart_dev_s *dev, bool enable)
|
||||
priv->ie |= UART_C2_TIE;
|
||||
priv->ie |= UART_C2_TCIE;
|
||||
up_setuartint(priv);
|
||||
|
||||
/* Fake a TX interrupt here by just calling uart_xmitchars() with
|
||||
* interrupts disabled (note this may recurse).
|
||||
*/
|
||||
|
||||
uart_xmitchars(dev);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user