1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
@@ -57,7 +57,7 int rs232setup(rs232port_t fd, int ChSiz | |||||
57 | rs232cfnbstop(fd, &terminos, NbStop); |
|
57 | rs232cfnbstop(fd, &terminos, NbStop); | |
58 | rs232cfcsize(fd, &terminos, ChSize); |
|
58 | rs232cfcsize(fd, &terminos, ChSize); | |
59 | terminos.c_cc[VMIN]=0; |
|
59 | terminos.c_cc[VMIN]=0; | |
60 |
terminos.c_cc[VTIME]= |
|
60 | terminos.c_cc[VTIME]=1; | |
61 | tcflush(fd, TCIFLUSH); |
|
61 | tcflush(fd, TCIFLUSH); | |
62 | #ifdef debug |
|
62 | #ifdef debug | |
63 | if(tcsetattr(fd, TCSANOW, &terminos)!=0)printf("bad setup\n"); |
|
63 | if(tcsetattr(fd, TCSANOW, &terminos)!=0)printf("bad setup\n"); |
General Comments 0
You need to be logged in to leave comments.
Login now