Synchronize with trunk revision 59781.
[reactos.git] / drivers / base / kdcom / kdcom.c
index aa147f6..d808025 100644 (file)
@@ -222,7 +222,7 @@ NTAPI
 KdpPollByte(OUT PUCHAR OutByte)
 {
     /* Poll the byte */
-    if (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS)
+    if (CpGetByte(&KdDebugComPort, OutByte, FALSE, TRUE) == CP_GET_SUCCESS)
     {
         return KDP_PACKET_RECEIVED;
     }
@@ -237,7 +237,7 @@ NTAPI
 KdpReceiveByte(OUT PUCHAR OutByte)
 {
     /* Get the byte */
-    if (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS)
+    if (CpGetByte(&KdDebugComPort, OutByte, TRUE, FALSE) == CP_GET_SUCCESS)
     {
         return KDP_PACKET_RECEIVED;
     }