File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -527,7 +527,9 @@ static void prvAddCurrentTaskToDelayedList( TickType_t xTicksToWait,
527
527
*/
528
528
static void prvResetNextTaskUnblockTime ( void ) PRIVILEGED_FUNCTION ;
529
529
530
- #if ( ( configUSE_TRACE_FACILITY == 1 ) && ( configUSE_STATS_FORMATTING_FUNCTIONS > 0 ) )
530
+ #if ( ( ( configUSE_TRACE_FACILITY == 1 ) || ( configGENERATE_RUN_TIME_STATS == 1 ) ) && \
531
+ ( configUSE_STATS_FORMATTING_FUNCTIONS > 0 ) && \
532
+ ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
531
533
532
534
/*
533
535
* Helper function used to pad task names with spaces when printing out
@@ -4376,7 +4378,9 @@ static void prvResetNextTaskUnblockTime( void )
4376
4378
#endif /* portCRITICAL_NESTING_IN_TCB */
4377
4379
/*-----------------------------------------------------------*/
4378
4380
4379
- #if ( ( configUSE_TRACE_FACILITY == 1 ) && ( configUSE_STATS_FORMATTING_FUNCTIONS > 0 ) )
4381
+ #if ( ( ( configUSE_TRACE_FACILITY == 1 ) || ( configGENERATE_RUN_TIME_STATS == 1 ) ) && \
4382
+ ( configUSE_STATS_FORMATTING_FUNCTIONS > 0 ) && \
4383
+ ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
4380
4384
4381
4385
static char * prvWriteNameToBuffer ( char * pcBuffer ,
4382
4386
const char * pcTaskName )
You can’t perform that action at this time.
0 commit comments