Convert more ports to use xTaskIncrementTick() in place of vTaskIncrementTick().

This commit is contained in:
Richard Barry 2013-06-06 16:31:15 +00:00
parent 15ec6c87f7
commit f904d26957
18 changed files with 61 additions and 75 deletions

View file

@ -67,7 +67,7 @@ EXTERN SIG_UART_DATA
; ---------------------------
EXTERN vTaskSwitchContext
EXTERN pxCurrentTCB
EXTERN vTaskIncrementTick
EXTERN xTaskIncrementTick
EXTERN uxCriticalNesting
; Functions implemented in this file
@ -243,7 +243,7 @@ vPortYield:
vPortYieldFromTick:
portSAVE_CONTEXT ; Save the context of the current task.
call vTaskIncrementTick ; Call the timer tick function.
call xTaskIncrementTick ; Call the timer tick function.
call vTaskSwitchContext ; Call the scheduler.
portRESTORE_CONTEXT ; Restore the context of whichever task the ...
ret ; ... scheduler decided should run.