From: richardbarry Date: Wed, 29 Oct 2008 10:11:22 +0000 (+0000) Subject: Fix X-Git-Tag: V5.1.2~160 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20e82ffe300c27c12959b6c1424b2a23a038af6d;p=freertos Fix https://sourceforge.net/tracker/index.php?func=detail&aid=2194064&group_id=111543&atid=659633 git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@536 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/tasks.c b/Source/tasks.c index 24cd979ae..a87878aee 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -1832,7 +1832,7 @@ tskTCB *pxNewTCB; #endif /*-----------------------------------------------------------*/ -#if ( INCLUDE_uxTaskGetStackHighWaterMark == 1 ) +#if ( ( configUSE_TRACE_FACILITY == 1 ) || ( INCLUDE_uxTaskGetStackHighWaterMark == 1 ) ) unsigned portSHORT usTaskCheckFreeStackSpace( const unsigned portCHAR * pucStackByte ) {