mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -04:00
Convert the remaining ports to use xTaskIncrementTick() in place of vTaskIncremenTick().
This commit is contained in:
parent
2fc9d033c6
commit
c04b074707
21 changed files with 80 additions and 98 deletions
|
@ -405,8 +405,10 @@ void vPortYield( void ) _naked
|
|||
portSAVE_CONTEXT();
|
||||
portCOPY_STACK_TO_XRAM();
|
||||
|
||||
vTaskIncrementTick();
|
||||
vTaskSwitchContext();
|
||||
if( xTaskIncrementTick() != pdFALSE )
|
||||
{
|
||||
vTaskSwitchContext();
|
||||
}
|
||||
|
||||
portCLEAR_INTERRUPT_FLAG();
|
||||
portCOPY_XRAM_TO_STACK();
|
||||
|
@ -418,7 +420,7 @@ void vPortYield( void ) _naked
|
|||
/* When using the cooperative scheduler the timer 2 ISR is only
|
||||
required to increment the RTOS tick count. */
|
||||
|
||||
vTaskIncrementTick();
|
||||
xTaskIncrementTick();
|
||||
portCLEAR_INTERRUPT_FLAG();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue