mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 22:25:14 -05:00
Removed unneeded precondition
This commit is contained in:
parent
e629319b9f
commit
1888670656
1 changed files with 0 additions and 1 deletions
1
tasks.c
1
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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue