disable flow control (try 2)

This commit is contained in:
Chris Danford
2003-11-19 09:41:44 +00:00
parent d08da82598
commit ac80119552
@@ -55,6 +55,7 @@ LightsDriver_LinuxSerial::LightsDriver_LinuxSerial()
my_termios.c_iflag &= ~(IXON | IXOFF | IXANY); /* no flow control */
my_termios.c_oflag &= ~(IXON | IXOFF | IXANY); /* no flow control */
fcntl(fd, F_SETFL, 0);
cfsetospeed(&my_termios, B2400);
tcsetattr(fd, TCSANOW, &my_termios);