aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_comm.c
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-02-14 12:05:18 +0800
committerTat-Chee Wan (USM)2011-02-14 12:05:18 +0800
commit10b6875c8eec7b2049b5c04ca54ee751e3bb0761 (patch)
tree39995e9231660e43ce96270b397266847cc15ab0 /AT91SAM7S256/Source/c_comm.c
parentbcfdc907fc57c08908bb4c6bee4a011677732e6c (diff)
removed assert call to avoid bloating executable
Diffstat (limited to 'AT91SAM7S256/Source/c_comm.c')
-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;