/* Manual context switch. The first thing we do is save the registers so we can use a naked attribute.  */
void vPortYield(void)
/* Manual context switch. The first thing we do is save the registers so we can use a naked attribute.  */
void vPortYield(void)
{
	portSAVE_CONTEXT();
	vTaskSwitchContext();
	portRESTORE_CONTEXT();
	asm volatile ( "ret" );
}