forked from epagris/FreeRTOS-Kernel
Refer to https://www.freertos.org/a00133.html. The issue with the implementation is that, if only stop kernel tick the program will keep executing current task. The desired behavior is to at least return/jump to the next instruction after vTaskStartScheduler(). Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>