From b08638d7c8e46b3a207705a2e55fdfe4b78cfb3e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 7 Feb 2009 12:42:29 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@735 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chdebug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/chdebug.c') diff --git a/src/chdebug.c b/src/chdebug.c index 8fa67bbf7..4a16e2d2a 100644 --- a/src/chdebug.c +++ b/src/chdebug.c @@ -26,7 +26,7 @@ #include -#ifdef CH_USE_DEBUG +#if CH_USE_DEBUG char *panicmsg; @@ -35,7 +35,7 @@ char *panicmsg; */ void debug_init(void) { -#ifdef CH_USE_TRACE +#if CH_USE_TRACE dbgtb.tb_size = TRACE_BUFFER_SIZE; dbgtb.tb_ptr = &dbgtb.tb_buffer[0]; #endif @@ -55,7 +55,7 @@ void chDbgPanic(char *msg) { chSysHalt(); } -#ifdef CH_USE_TRACE +#if CH_USE_TRACE /** * @brief Public trace buffer. */ -- cgit v1.2.3