From ac80119552891dd27db24ef7e6f81c88e847c80b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 19 Nov 2003 09:41:44 +0000 Subject: [PATCH] disable flow control (try 2) --- stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp b/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp index 5264f266a9..732d8979c8 100644 --- a/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp +++ b/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp @@ -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);