disable flow control

This commit is contained in:
Chris Danford
2003-11-19 09:25:17 +00:00
parent bd0a1736a8
commit d08da82598
@@ -53,6 +53,9 @@ LightsDriver_LinuxSerial::LightsDriver_LinuxSerial()
my_termios.c_cflag = B2400 | CS8 |CREAD | CLOCAL | HUPCL;
my_termios.c_iflag &= ~(IXON | IXOFF | IXANY); /* no flow control */
my_termios.c_oflag &= ~(IXON | IXOFF | IXANY); /* no flow control */
cfsetospeed(&my_termios, B2400);
tcsetattr(fd, TCSANOW, &my_termios);