Minor changes to the trace macros.

This commit is contained in:
Richard Barry 2008-04-06 09:37:26 +00:00
parent 06e8e93eb5
commit ada4744871
2 changed files with 8 additions and 6 deletions

View file

@ -1414,6 +1414,8 @@ inline void vTaskIncrementTick( void )
void vTaskSwitchContext( void )
{
traceTASK_SWITCHED_OUT();
if( uxSchedulerSuspended != ( unsigned portBASE_TYPE ) pdFALSE )
{
/* The scheduler is currently suspended - do not allow a context