serial: Removed flag OPOST (turn off all output processing).

This commit is contained in:
Matthias Heidbrink 2013-10-17 10:57:14 +02:00 committed by Uwe Hermann
parent a510d55571
commit 50a9aba21b
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate,
/* Turn off all serial port cooking. */
term.c_iflag &= ~(ISTRIP | INLCR | ICRNL);
term.c_oflag &= ~(ONLCR | OCRNL | ONOCR);
term.c_oflag &= ~(OPOST | ONLCR | OCRNL | ONOCR);
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
term.c_oflag &= ~OFILL;
#endif