mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
Fix: interrupt enabling at the end of vTaskExitCritical
When xSchedulerRunning is false interrupts are always disabled in vTaskExitCritical. Adds portENABLE_INTERRUPTS() in vTaskExitCritical when scheduling is false.
This commit is contained in:
parent
a4625fbd4d
commit
facb0541d0
1 changed files with 1 additions and 1 deletions
2
tasks.c
2
tasks.c
|
@ -4367,7 +4367,7 @@ static void prvResetNextTaskUnblockTime( void )
|
|||
}
|
||||
else
|
||||
{
|
||||
mtCOVERAGE_TEST_MARKER();
|
||||
portENABLE_INTERRUPTS();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue