/* Has the task already been resumed from within an ISR? */\r
if( listIS_CONTAINED_WITHIN( &xPendingReadyList, &( pxTCB->xEventListItem ) ) == pdFALSE )\r
{\r
- /* Is it in the suspended list because it is in the Suspended \r
+ /* Is it in the suspended list because it is in the Suspended\r
state, or because is is blocked with no timeout? */\r
if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) != pdFALSE )\r
{\r
called from a critical section within an ISR. */\r
\r
/* The event list is sorted in priority order, so the first in the list can\r
- be removed as it is known to be the highest priority. Remove the TCB from \r
+ be removed as it is known to be the highest priority. Remove the TCB from\r
the delayed list, and add it to the ready list.\r
\r
If an event is for a queue that is locked then this function will never\r
volatile UBaseType_t uxArraySize, x;\r
uint32_t ulTotalTime, ulStatsAsPercentage;\r
\r
+ #if( configUSE_TRACE_FACILITY != 1 )\r
+ {\r
+ #error configUSE_TRACE_FACILITY must also be set to 1 in FreeRTOSConfig.h to use vTaskGetRunTimeStats().\r
+ }\r
+ #endif\r
+\r
/*\r
* PLEASE NOTE:\r
*\r