Added a critical section around the call to vTaskIncrementTick() in all the RX ports.

This commit is contained in:
Richard Barry 2010-08-29 17:57:32 +00:00
parent 9f83e74cb1
commit c1dca1a069
3 changed files with 24 additions and 4 deletions

View file

@ -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 )