/* Context switch function used by the tick. This must be identical to vPortYield() from the call to vTaskSwitchContext() onwards. The only difference from vPortYield() is the tick count is incremented as the call comes from the tick ISR.  */
void vPortYieldFromTick(void)
/* Context switch function used by the tick. This must be identical to vPortYield() from the call to vTaskSwitchContext() onwards. The only difference from vPortYield() is the tick count is incremented as the call comes from the tick ISR.  */
void vPortYieldFromTick(void)
{
	portSAVE_CONTEXT();
	vTaskIncrementTick();
	vTaskSwitchContext();
	portRESTORE_CONTEXT();
	asm volatile ( "ret" );
}