#define portSUPPRESS_TICKS_AND_SLEEP( xExpectedIdleTime )\r
#endif\r
\r
+#ifndef configUSE_TICKLESS_IDLE\r
+ #define configUSE_TICKLESS_IDLE 0\r
+#endif\r
+\r
#ifndef configPRE_SLEEP_PROCESSING\r
#define configPRE_SLEEP_PROCESSING( x )\r
#endif\r
}\r
#endif\r
uxTaskNumber++;\r
+ traceTASK_CREATE( pxNewTCB );\r
\r
prvAddTaskToReadyQueue( pxNewTCB );\r
\r
xReturn = pdPASS;\r
- portSETUP_TCB( pxNewTCB );\r
- traceTASK_CREATE( pxNewTCB );\r
+ portSETUP_TCB( pxNewTCB ); \r
}\r
taskEXIT_CRITICAL();\r
}\r
{\r
pxTimer = xMessage.pxTimer;\r
\r
- /* Is the timer already in a list of active timers? When the command\r
- is trmCOMMAND_PROCESS_TIMER_OVERFLOW, the timer will be NULL as the\r
- command is to the task rather than to an individual timer. */\r
- if( pxTimer != NULL )\r
+ if( listIS_CONTAINED_WITHIN( NULL, &( pxTimer->xTimerListItem ) ) == pdFALSE )\r
{\r
- if( listIS_CONTAINED_WITHIN( NULL, &( pxTimer->xTimerListItem ) ) == pdFALSE )\r
- {\r
- /* The timer is in a list, remove it. */\r
- uxListRemove( &( pxTimer->xTimerListItem ) );\r
- }\r
+ /* The timer is in a list, remove it. */\r
+ uxListRemove( &( pxTimer->xTimerListItem ) );\r
}\r
\r
traceTIMER_COMMAND_RECEIVED( pxTimer, xMessage.xMessageID, xMessage.xMessageValue );\r