We are planning to upgrade GitLab to the latest version this Friday morning. Expect some downtime!

Commit 17916e94 authored by Mart Lubbers's avatar Mart Lubbers

Merge branch 'master' of gitlab.science.ru.nl:mlubbers/CleanSerial

parents c5bc5732 a2f98a2a
......@@ -151,6 +151,9 @@ void ttyopen(CleanString fn, int baudrate, int bytesize, int parity,
tio.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN | ISIG);
// tio.c_lflag |= ICANON;
#ifdef __APPLE__
tio.c_cflag |= CLOCAL;
#endif
tio.c_cc[VMIN]=5;
tio.c_cc[VTIME]=0;
tcsetattr(*fd, TCSANOW, &tio);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment