mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
[winpr,comm] fix setting of SERIAL_EV_TXEMPTY
This commit is contained in:
@@ -1364,7 +1364,7 @@ static BOOL get_commstatus(WINPR_COMM* pComm, SERIAL_STATUS* pCommstatus)
|
||||
#if defined(WINPR_HAVE_COMM_COUNTERS)
|
||||
if (currentCounters.tx != pComm->counters.tx)
|
||||
{
|
||||
pComm->PendingEvents |= SERIAL_EV_TXEMPTY;
|
||||
pComm->PendingEvents &= (uint32_t)~SERIAL_EV_TXEMPTY;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user