aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AT91SAM7S256/Source/c_comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AT91SAM7S256/Source/c_comm.c b/AT91SAM7S256/Source/c_comm.c
index bebf5f3..7dcb215 100644
--- a/AT91SAM7S256/Source/c_comm.c
+++ b/AT91SAM7S256/Source/c_comm.c
@@ -430,7 +430,7 @@ UWORD cCommInterprete(UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pLength, UBYTE C
{
ReturnStatus = cCommHandleDebug(&(pInBuf[0]), CmdBit, MsgLength); /* Pass everything (incl. message command byte) to function */
/* Check that Debug Command does not expect reply */
- assert ((pInBuf[0]) & NO_REPLY_BIT);
+ ReturnStatus = (0 == ((pInBuf[0]) & NO_REPLY_BIT));
*pLength = 0;
}
break;