running task is being raised. Is the priority being\r
raised above that of the running task? */\r
if( uxNewPriority >= pxCurrentTCB->uxPriority )\r
- { \r
+ {\r
xYieldRequired = pdTRUE;\r
}\r
}\r
}\r
else if( pxTCB == pxCurrentTCB )\r
{\r
- /* Setting the priority of the running task down means \r
- there may now be another task of higher priority that \r
+ /* Setting the priority of the running task down means\r
+ there may now be another task of higher priority that\r
is ready to execute. */\r
xYieldRequired = pdTRUE;\r
}\r
{\r
if( pulTotalRunTime != NULL )\r
{\r
- *pulTotalRunTime = portGET_RUN_TIME_COUNTER_VALUE();\r
+ #ifdef portALT_GET_RUN_TIME_COUNTER_VALUE\r
+ portALT_GET_RUN_TIME_COUNTER_VALUE( ( *pulTotalRunTime ) );\r
+ #else\r
+ *pulTotalRunTime = portGET_RUN_TIME_COUNTER_VALUE();\r
+ #endif \r
}\r
}\r
#else\r