@@ -204,7 +204,7 int rs232setup(rs232port_t fd, int ChSiz | |||
|
204 | 204 | dcbSerialParams.Parity=privatedecodeparity(Parity); |
|
205 | 205 | SetCommState((HANDLE)fd, &dcbSerialParams); |
|
206 | 206 | COMMTIMEOUTS timeouts={0}; |
|
207 |
timeouts.ReadIntervalTimeout= |
|
|
207 | timeouts.ReadIntervalTimeout=5; | |
|
208 | 208 | timeouts.ReadTotalTimeoutConstant=100; |
|
209 | 209 | timeouts.ReadTotalTimeoutMultiplier=1; |
|
210 | 210 | timeouts.WriteTotalTimeoutConstant=100; |
General Comments 0
You need to be logged in to leave comments.
Login now