Browse Source

enable hardware flow control

Xiangfu 13 years ago
parent
commit
10770cced6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fpgautils.c

+ 1 - 0
fpgautils.c

@@ -398,6 +398,7 @@ int serial_open(const char *devpath, unsigned long baud, signed short timeout, b
 
 	my_termios.c_cflag |= CS8;
 	my_termios.c_cflag |= CREAD;
+	my_termios.c_cflag |= CRTSCTS;
 	my_termios.c_cflag |= CLOCAL;
 	my_termios.c_cflag &= ~(CSIZE | PARENB);