File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2065,11 +2065,12 @@ void vTaskStartScheduler( void )
2065
2065
/* Setting up the timer tick is hardware specific and thus in the
2066
2066
* portable interface. */
2067
2067
xPortStartScheduler ();
2068
- /* if just above call of xPortStartScheduler not return pdFALSE
2069
- * Should not reach here as if the scheduler is running the
2070
- * function will not return.
2071
- * otherwise
2072
- * Should only reach here if a task calls xTaskEndScheduler(). */
2068
+ /* In most cases, xPortStartScheduler() will not return. If it
2069
+ * returns pdTRUE then there was not enough heap memory available
2070
+ * to create either the Idle or the Timer task. If it returned
2071
+ * pdFALSE, then the application called xTaskEndScheduler().
2072
+ * Most ports don't implement xTaskEndScheduler() as there is
2073
+ * nothing to return to. */
2073
2074
}
2074
2075
else
2075
2076
{
You can’t perform that action at this time.
0 commit comments