Update port layers to make better use of the xTaskIncrementTick() return value.

This commit is contained in:
Richard Barry 2013-06-08 18:36:25 +00:00
parent c75c01ffdf
commit 62c0ae0926
9 changed files with 124 additions and 102 deletions

View file

@ -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
/*-----------------------------------------------------------*/