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