##// END OF EJS Templates
Fixed mistake on Win32
Jeandet Alexis -
r50:023b503dbdc5 qt
parent child
Show More
@@ -326,7 +326,7 int rs232availablebytes(rs232port_t fd)
326 {
326 {
327 DWORD dwErrorFlags;
327 DWORD dwErrorFlags;
328 COMSTAT ComStat;
328 COMSTAT ComStat;
329 ClearCommError(m_hIDComDev, &dwErrorFlags, &ComStat);
329 ClearCommError(fd, &dwErrorFlags, &ComStat);
330 return((int)ComStat.cbInQue);
330 return((int)ComStat.cbInQue);
331 }
331 }
332
332
General Comments 0
You need to be logged in to leave comments. Login now