kernel: Comm_CheckEvents: Only warn for non-empty transmitter with EV_TXEMPTY flag set.
Noticed by Dan Armbrust.
This commit is contained in:
parent
975f1b2a61
commit
5b4c15c5d3
|
@ -1232,8 +1232,8 @@ static DWORD WINAPI Comm_CheckEvents(int fd, DWORD mask, serial_irq_info *new, s
|
|||
if (!queue)
|
||||
#endif
|
||||
ret |= EV_TXEMPTY;
|
||||
TRACE("OUTQUEUE %ld, Transmitter %sempty\n", queue, (ret & EV_TXEMPTY)?"":"not ");
|
||||
}
|
||||
TRACE("OUTQUEUE %ld, Transmitter %sempty\n", queue, (ret & EV_TXEMPTY)?"":"not ");
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue