From 9ba2e1ea571bb2f205832c40c0c32af7768ca9d7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 1 Sep 2008 15:22:54 +0000 Subject: [PATCH] Verify UDP support git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@859 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/common/up_assert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/common/up_assert.c b/arch/arm/src/common/up_assert.c index 9ddaf555c4..895b1f0f51 100644 --- a/arch/arm/src/common/up_assert.c +++ b/arch/arm/src/common/up_assert.c @@ -189,7 +189,7 @@ static void _up_assert(int errorcode) /* __attribute__ ((noreturn)) */ void up_assert(const ubyte *filename, int lineno) { -#if CONFIG_TASK_NAME_SIZE > 0 +#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG) _TCB *rtcb = (_TCB*)g_readytorun.head; #endif @@ -211,7 +211,7 @@ void up_assert(const ubyte *filename, int lineno) void up_assert_code(const ubyte *filename, int lineno, int errorcode) { -#if CONFIG_TASK_NAME_SIZE > 0 +#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG) _TCB *rtcb = (_TCB*)g_readytorun.head; #endif