/* When a context switch is performed from the task level the saved task context is made to look as if it occurred from within the tick ISR. This way the same restore context function can be used when restoring the context saved from the ISR or that saved from a call to vPortYieldProcessor.  */
void vPortYieldProcessor(void)
/* When a context switch is performed from the task level the saved task context is made to look as if it occurred from within the tick ISR. This way the same restore context function can be used when restoring the context saved from the ISR or that saved from a call to vPortYieldProcessor.  */
void vPortYieldProcessor(void)
{
	__asm volatile ( "ADD		LR, LR, #4" );
	portSAVE_CONTEXT();
	__asm volatile( "bl			vTaskSwitchContext" );
	portRESTORE_CONTEXT();}