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

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