Commit 267ef8ec authored by dt's avatar dt
Browse files

Fix compile

Reviewed-By: hjk
parent 9045d997
......@@ -80,7 +80,7 @@ BOOL WINAPI TryReadFile(HANDLE hFile,
COMSTAT comStat;
if (!ClearCommError(hFile, NULL, &comStat)){
logMessage("ClearCommError() failed");
qDebug()<<("ClearCommError() failed");
return FALSE;
if (comStat.cbInQue == 0) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment