summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/tasks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/tasks.c b/Source/tasks.c
index 24cd979a..a87878ae 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 )
{