Merge pull request #5802 from dragonuaix/master

Update comm_serial_sys.c
This commit is contained in:
David Fort 2020-01-08 08:08:42 +01:00 committed by GitHub
commit 004f59083d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1318,7 +1318,7 @@ static BOOL _get_commstatus(WINPR_COMM* pComm, SERIAL_STATUS* pCommstatus)
if (currentCounters.rx != pComm->counters.rx)
{
pComm->PendingEvents |= SERIAL_EV_RXFLAG;
pComm->PendingEvents |= SERIAL_EV_RXFLAG | SERIAL_EV_RXCHAR;
}
if ((currentCounters.tx != pComm->counters.tx) && /* at least a transmission occurred AND ...*/