mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -04:00
Update port layers to make better use of the xTaskIncrementTick() return value.
This commit is contained in:
parent
c75c01ffdf
commit
62c0ae0926
9 changed files with 124 additions and 102 deletions
|
@ -90,11 +90,10 @@ _vTickISR:
|
|||
portSAVE_CONTEXT
|
||||
|
||||
call #_xTaskIncrementTick
|
||||
|
||||
#if configUSE_PREEMPTION == 1
|
||||
call #_vTaskSwitchContext
|
||||
#endif
|
||||
|
||||
cmp.w #0x00, r15
|
||||
jeq _SkipContextSwitch
|
||||
call #_vTaskSwitchContext
|
||||
_SkipContextSwitch:
|
||||
portRESTORE_CONTEXT
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue