diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serial.c b/src/serial.c index 1b5a4cfd..31cb81d1 100644 --- a/src/serial.c +++ b/src/serial.c @@ -97,7 +97,7 @@ osmo_serial_init(const char *dev, speed_t baudrate) tio.c_cflag &= ~(PARENB | CSTOPB | CSIZE | CRTSCTS); tio.c_cflag |= (CREAD | CLOCAL | CS8); tio.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG); - tio.c_iflag |= (INPCK | ISTRIP); + tio.c_iflag |= (INPCK); tio.c_iflag &= ~(ISTRIP | IXON | IXOFF | IGNBRK | INLCR | ICRNL | IGNCR); tio.c_oflag &= ~(OPOST | ONLCR); |