mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +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)
|
KdpPollByte(OUT PUCHAR OutByte)
|
||||||
{
|
{
|
||||||
/* Poll the byte */
|
/* Poll the byte */
|
||||||
return (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS
|
if (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS)
|
||||||
? KDP_PACKET_RECEIVED
|
{
|
||||||
: KDP_PACKET_TIMEOUT);
|
return KDP_PACKET_RECEIVED;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return KDP_PACKET_TIMEOUT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
KDP_STATUS
|
KDP_STATUS
|
||||||
|
@ -233,9 +238,14 @@ NTAPI
|
||||||
KdpReceiveByte(OUT PUCHAR OutByte)
|
KdpReceiveByte(OUT PUCHAR OutByte)
|
||||||
{
|
{
|
||||||
/* Get the byte */
|
/* Get the byte */
|
||||||
return (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS
|
if (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS)
|
||||||
? KDP_PACKET_RECEIVED
|
{
|
||||||
: KDP_PACKET_TIMEOUT);
|
return KDP_PACKET_RECEIVED;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return KDP_PACKET_TIMEOUT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
KDP_STATUS
|
KDP_STATUS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue