Added: 	/* This is called from the context switch, so will be called from a 	critical section.  xTaskGetTickCountFromISR() contains its own critical 	section, and the ISR safe critical sections are not designed to nest, 	so reset the critical section. */ 	portSET_INTERRUPT_MASK_FROM_ISR();
Added: 	/* This is called from the context switch, so will be called from a
	critical section.  xTaskGetTickCountFromISR() contains its own critical
	section, and the ISR safe critical sections are not designed to nest,
	so reset the critical section. */
	portSET_INTERRUPT_MASK_FROM_ISR();

in main.c.

FreeRTOS/FreeRTOS-Kernel,FreeRTOS/FreeRTOS-Kernel