mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-19 05:42:49 +08:00
Similar to the recent commit in tms570-sci.c, the assumption that a UART will only see printable ASCII characters, instead of any value in the range 0x00-0xFF, is wrong. A non forgiving binary protocol will be thrown off by this driver sending "\r\r\r\r" when initializing. If a user wants to flush the interface, they should explicitely use the dedicated function `tcflush(fd, TCIOFLUSH);`.