From 10b6875c8eec7b2049b5c04ca54ee751e3bb0761 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 14 Feb 2011 12:05:18 +0800 Subject: removed assert call to avoid bloating executable --- AT91SAM7S256/Source/c_comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AT91SAM7S256') 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; -- cgit v1.2.3