diff --git a/tasks.c b/tasks.c index 8a1994eb2..1e16da104 100644 --- a/tasks.c +++ b/tasks.c @@ -4274,7 +4274,6 @@ void vTaskSwitchContext( BaseType_t xCoreID ) // TODO: Inspect reason. TaskHandle_t currentHandle = pxCurrentTCB; //@ assert( currentHandle == gCurrentTCB ); - ///@ open taskISRLockInv(); //@ open pubTCB_p(gCurrentTCB, 0); UBaseType_t nesting = currentHandle->uxCriticalNesting; configASSERT( nesting == 0 );