\r
#endif\r
\r
-#if ( INCLUDE_xTaskGetIdleTaskHandle == 1 )\r
+#if ( INCLUDE_xTaskIdleTaskHandleGet == 1 )\r
\r
PRIVILEGED_DATA static xTaskHandle xIdleTaskHandle = NULL;\r
\r
portBASE_TYPE xReturn;\r
\r
/* Add the idle task at the lowest priority. */\r
- #if ( INCLUDE_xTaskGetIdleTaskHandle == 1 )\r
+ #if ( INCLUDE_xTaskIdleTaskHandleGet == 1 )\r
{\r
/* Create the idle task, storing its handle in xIdleTaskHandle so it can\r
- be returned by the xTaskGetIdleTaskHandle() function. */\r
+ be returned by the xTaskIdleTaskHandleGet() function. */\r
xReturn = xTaskCreate( prvIdleTask, ( signed char * ) "IDLE", tskIDLE_STACK_SIZE, ( void * ) NULL, ( tskIDLE_PRIORITY | portPRIVILEGE_BIT ), &xIdleTaskHandle );\r
}\r
#else\r
}\r
/*-----------------------------------------------------------*/\r
\r
-signed char *pcTaskGetTaskName( xTaskHandle xTaskToQuery )\r
-{\r
-tskTCB *pxTCB;\r
+#if ( INCLUDE_pcTaskNameGet == 1 )\r
\r
- /* If null is passed in here then the name of the calling task is being queried. */\r
- pxTCB = prvGetTCBFromHandle( xTaskToQuery );\r
- configASSERT( pxTCB );\r
- return &( pxTCB->pcTaskName[ 0 ] );\r
-}\r
+ signed char *pcTaskNameGet( xTaskHandle xTaskToQuery )\r
+ {\r
+ tskTCB *pxTCB;\r
+\r
+ /* If null is passed in here then the name of the calling task is being queried. */\r
+ pxTCB = prvGetTCBFromHandle( xTaskToQuery );\r
+ configASSERT( pxTCB );\r
+ return &( pxTCB->pcTaskName[ 0 ] );\r
+ }\r
+\r
+#endif\r
/*-----------------------------------------------------------*/\r
\r
#if ( configUSE_TRACE_FACILITY == 1 )\r
#endif\r
/*----------------------------------------------------------*/\r
\r
-#if ( INCLUDE_xTaskGetIdleTaskHandle == 1 )\r
+#if ( INCLUDE_xTaskIdleTaskHandleGet == 1 )\r
\r
- xTaskHandle xTaskGetIdleTaskHandle( void )\r
+ xTaskHandle xTaskIdleTaskHandleGet( void )\r
{\r
- /* If xTaskGetIdleTaskHandle() is called before the scheduler has been\r
+ /* If xTaskIdleTaskHandleGet() is called before the scheduler has been\r
started, then xIdleTaskHandle will be NULL. */\r
configASSERT( ( xIdleTaskHandle != NULL ) );\r
return xIdleTaskHandle;\r
/* A queue that is used to send commands to the timer service task. */\r
PRIVILEGED_DATA static xQueueHandle xTimerQueue = NULL;\r
\r
-#if ( INCLUDE_xTimerGetTimerTaskHandle == 1 )\r
+#if ( INCLUDE_xTimerDaemonTaskHandleGet == 1 )\r
\r
PRIVILEGED_DATA static xTaskHandle xTimerTaskHandle = NULL;\r
\r
\r
if( xTimerQueue != NULL )\r
{\r
- #if ( INCLUDE_xTimerGetTimerTaskHandle == 1 )\r
+ #if ( INCLUDE_xTimerDaemonTaskHandleGet == 1 )\r
{\r
/* Create the timer task, storing its handle in xTimerTaskHandle so\r
- it can be returned by the xTimerGetTimerTaskHandle() function. */\r
+ it can be returned by the xTimerDaemonTaskHandleGet() function. */\r
xReturn = xTaskCreate( prvTimerTask, ( const signed char * ) "Tmr Svc", ( unsigned short ) configTIMER_TASK_STACK_DEPTH, NULL, ( unsigned portBASE_TYPE ) configTIMER_TASK_PRIORITY, &xTimerTaskHandle ); \r
}\r
#else\r
}\r
/*-----------------------------------------------------------*/\r
\r
-#if ( INCLUDE_xTimerGetTimerTaskHandle == 1 )\r
+#if ( INCLUDE_xTimerDaemonTaskHandleGet == 1 )\r
\r
- xTaskHandle xTimerGetTimerTaskHandle( void )\r
+ xTaskHandle xTimerDaemonTaskHandleGet( void )\r
{\r
- /* If xTimerGetTimerTaskHandle() is called before the scheduler has been\r
+ /* If xTimerDaemonTaskHandleGet() is called before the scheduler has been\r
started, then xTimerTaskHandle will be NULL. */\r
configASSERT( ( xTimerTaskHandle != NULL ) );\r
return xTimerTaskHandle;\r