diff --git a/autogen.sh b/autogen.sh old mode 100755 new mode 100644 diff --git a/src/RS232_unix.c b/src/RS232_unix.c --- a/src/RS232_unix.c +++ b/src/RS232_unix.c @@ -57,7 +57,7 @@ int rs232setup(rs232port_t fd, int ChSiz rs232cfnbstop(fd, &terminos, NbStop); rs232cfcsize(fd, &terminos, ChSize); terminos.c_cc[VMIN]=0; - terminos.c_cc[VTIME]=20; + terminos.c_cc[VTIME]=1; tcflush(fd, TCIFLUSH); #ifdef debug if(tcsetattr(fd, TCSANOW, &terminos)!=0)printf("bad setup\n");