mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Added a critical section around the call to vTaskIncrementTick() in all the RX ports.
This commit is contained in:
parent
9f83e74cb1
commit
c1dca1a069
3 changed files with 24 additions and 4 deletions
|
@ -237,7 +237,11 @@ void vTickISR( void )
|
|||
{
|
||||
/* Increment the tick, and perform any processing the new tick value
|
||||
necessitates. */
|
||||
vTaskIncrementTick();
|
||||
set_ipl( configMAX_SYSCALL_INTERRUPT_PRIORITY );
|
||||
{
|
||||
vTaskIncrementTick();
|
||||
}
|
||||
set_ipl( configKERNEL_INTERRUPT_PRIORITY );
|
||||
|
||||
/* Only select a new task if the preemptive scheduler is being used. */
|
||||
#if( configUSE_PREEMPTION == 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue