mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 15:38:37 +00:00
[KDCOM]
Formatting change only (requested by Timo). svn path=/trunk/; revision=58835
This commit is contained in:
parent
1fda00d683
commit
1707c78bfe
1 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue