Convert the remaining ports to use xTaskIncrementTick() in place of vTaskIncremenTick().

This commit is contained in:
Richard Barry 2013-06-07 12:16:58 +00:00
parent 2fc9d033c6
commit c04b074707
21 changed files with 80 additions and 98 deletions

View file

@ -474,8 +474,10 @@ void vPortEndScheduler( void )
/* Increment the tick count then switch to the highest priority task
that is ready to run. */
vTaskIncrementTick();
vTaskSwitchContext();
if( xTaskIncrementTick() != pdFALSE )
{
vTaskSwitchContext();
}
/* Disable interrupts so that portRESTORE_CONTEXT() is not interrupted */
__DI();
@ -499,7 +501,7 @@ void vPortEndScheduler( void )
/* Clear RLT0 interrupt flag */
TMCSR0_UF = 0;
vTaskIncrementTick();
xTaskIncrementTick();
}
#endif