Author: hbelusca
Date: Tue Apr 23 00:48:49 2013
New Revision: 58835
URL:
http://svn.reactos.org/svn/reactos?rev=58835&view=rev
Log:
[KDCOM]
Formatting change only (requested by Timo).
Modified:
trunk/reactos/drivers/base/kddll/kdcom.c
Modified: trunk/reactos/drivers/base/kddll/kdcom.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kddll/kdcom.c…
==============================================================================
--- trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] Tue Apr 23 00:48:49 2013
@@ -223,9 +223,14 @@
KdpPollByte(OUT PUCHAR OutByte)
{
/* Poll the byte */
- return (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS
- ? KDP_PACKET_RECEIVED
- : KDP_PACKET_TIMEOUT);
+ if (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS)
+ {
+ return KDP_PACKET_RECEIVED;
+ }
+ else
+ {
+ return KDP_PACKET_TIMEOUT;
+ }
}
KDP_STATUS
@@ -233,9 +238,14 @@
KdpReceiveByte(OUT PUCHAR OutByte)
{
/* Get the byte */
- return (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS
- ? KDP_PACKET_RECEIVED
- : KDP_PACKET_TIMEOUT);
+ if (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS)
+ {
+ return KDP_PACKET_RECEIVED;
+ }
+ else
+ {
+ return KDP_PACKET_TIMEOUT;
+ }
}
KDP_STATUS