Formatting change only (requested by Timo).

svn path=/trunk/; revision=58835
This commit is contained in:
Hermès Bélusca-Maïto 2013-04-23 00:48:49 +00:00
parent 1fda00d683
commit 1707c78bfe

View file

@ -223,9 +223,14 @@ NTAPI
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 @@ NTAPI
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