Skip to content

Commit 8d90097

Browse files
committed
Linux: Remove duplicate XON/XOFF code
1 parent e471b0b commit 8d90097

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

simple_uart.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,6 @@ static int simple_uart_set_config(struct simple_uart *sc, int speed, const char
384384
// raw input mode
385385
options.c_lflag &= (tcflag_t) ~(ICANON | ECHO | ECHOE | ISIG);
386386

387-
// disable software flow control
388-
options.c_iflag &= (tcflag_t) ~(IXON | IXOFF | IXANY);
389-
390387
// maintain carriage return on input, and don't translate it
391388
options.c_iflag &= (tcflag_t) ~(IGNCR | ICRNL | INLCR);
392389

0 commit comments

Comments
 (0)