Removed unneeded precondition

This commit is contained in:
Tobias Reinhard 2022-11-18 13:35:06 -05:00
parent e629319b9f
commit 1888670656

View file

@ -4274,7 +4274,6 @@ void vTaskSwitchContext( BaseType_t xCoreID )
// TODO: Inspect reason. // TODO: Inspect reason.
TaskHandle_t currentHandle = pxCurrentTCB; TaskHandle_t currentHandle = pxCurrentTCB;
//@ assert( currentHandle == gCurrentTCB ); //@ assert( currentHandle == gCurrentTCB );
///@ open taskISRLockInv();
//@ open pubTCB_p(gCurrentTCB, 0); //@ open pubTCB_p(gCurrentTCB, 0);
UBaseType_t nesting = currentHandle->uxCriticalNesting; UBaseType_t nesting = currentHandle->uxCriticalNesting;
configASSERT( nesting == 0 ); configASSERT( nesting == 0 );