mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +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 defined(WINPR_HAVE_COMM_COUNTERS)
|
||||||
if (currentCounters.tx != pComm->counters.tx)
|
if (currentCounters.tx != pComm->counters.tx)
|
||||||
{
|
{
|
||||||
pComm->PendingEvents |= SERIAL_EV_TXEMPTY;
|
pComm->PendingEvents &= (uint32_t)~SERIAL_EV_TXEMPTY;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user