]> git.sur5r.net Git - freertos/commitdiff
Fix
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 29 Oct 2008 10:11:22 +0000 (10:11 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 29 Oct 2008 10:11:22 +0000 (10:11 +0000)
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

Source/tasks.c

index 24cd979aef7687e5e585725543aa7e3e3d5b4049..a87878aee50f00df6ef2f389840120ca236efa13 100644 (file)
@@ -1832,7 +1832,7 @@ tskTCB *pxNewTCB;
 #endif\r
 /*-----------------------------------------------------------*/\r
 \r
-#if ( INCLUDE_uxTaskGetStackHighWaterMark == 1 )\r
+#if ( ( configUSE_TRACE_FACILITY == 1 ) || ( INCLUDE_uxTaskGetStackHighWaterMark == 1 ) )\r
 \r
        unsigned portSHORT usTaskCheckFreeStackSpace( const unsigned portCHAR * pucStackByte )\r
        {\r