From: Matthias H. <m-s...@he...> - 2013-10-17 08:57:36
|
--- hardware/common/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/common/serial.c b/hardware/common/serial.c index 7dac4bf..f483ad1 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -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 -- 1.8.0 |