mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38: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
|
@ -196,7 +196,11 @@ __interrupt void vTickISR( void )
|
|||
|
||||
/* Increment the tick, and perform any processing the new tick value
|
||||
necessitates. */
|
||||
vTaskIncrementTick();
|
||||
__set_interrupt_level( configMAX_SYSCALL_INTERRUPT_PRIORITY );
|
||||
{
|
||||
vTaskIncrementTick();
|
||||
}
|
||||
__set_interrupt_level( 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