##// END OF EJS Templates
Now totaly stable on linux read timeout = 100ms
jeandet -
r13:b220a9e23d54 alexis
parent child
Show More
1 NO CONTENT: modified file chmod 100755 => 100644
@@ -57,7 +57,7 int rs232setup(rs232port_t fd, int ChSiz
57 57 rs232cfnbstop(fd, &terminos, NbStop);
58 58 rs232cfcsize(fd, &terminos, ChSize);
59 59 terminos.c_cc[VMIN]=0;
60 terminos.c_cc[VTIME]=20;
60 terminos.c_cc[VTIME]=1;
61 61 tcflush(fd, TCIFLUSH);
62 62 #ifdef debug
63 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