From 2e770cc4395ae7a39315a55b84b4936250b6c18b Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 4 Feb 2012 01:01:57 +0100 Subject: make armdebug compilation conditional Set ARMDEBUG to y in the Makefile to enable armdebug compilation. --- AT91SAM7S256/Source/c_comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AT91SAM7S256/Source/c_comm.c') diff --git a/AT91SAM7S256/Source/c_comm.c b/AT91SAM7S256/Source/c_comm.c index 1411b5d..176a1ff 100644 --- a/AT91SAM7S256/Source/c_comm.c +++ b/AT91SAM7S256/Source/c_comm.c @@ -26,7 +26,7 @@ #include "d_bt.h" #include #include -#ifdef __ARMDEBUG__ +#ifdef ARMDEBUG #include "debug_stub.h" #endif @@ -425,7 +425,7 @@ UWORD cCommInterprete(UBYTE *pInBuf, UBYTE *pOutBuf, UBYTE *pLength, UBYTE C } break; -#ifdef __ARMDEBUG__ +#ifdef ARMDEBUG case DEBUG_CMD: { ReturnStatus = cCommHandleDebug(&(pInBuf[0]), CmdBit, MsgLength); /* Pass everything (incl. message command byte) to function */ -- cgit v1.2.3