From 4c1d57b3d0a617485771114ff310db8708828b31 Mon Sep 17 00:00:00 2001 From: dragonuaix <58971482+dragonuaix@users.noreply.github.com> Date: Thu, 26 Dec 2019 16:48:00 +0200 Subject: [PATCH] Update comm_serial_sys.c --- winpr/libwinpr/comm/comm_serial_sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/libwinpr/comm/comm_serial_sys.c b/winpr/libwinpr/comm/comm_serial_sys.c index 16a6ce3cf..767b1608f 100644 --- a/winpr/libwinpr/comm/comm_serial_sys.c +++ b/winpr/libwinpr/comm/comm_serial_sys.c @@ -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 ...*/