]> git.sur5r.net Git - freertos/commitdiff
Replace "Infinite loop" comment in main() with something sensible.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 19 Jan 2012 22:16:13 +0000 (22:16 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 19 Jan 2012 22:16:13 +0000 (22:16 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1666 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/CORTEX_M4F_STM32F407ZG-SK/main.c

index d7ad0bee60e020ecebffa31bfbfbff3023176541..6b92370fcaff2ca0873f2b9db91847163d5bc3ba 100644 (file)
@@ -277,7 +277,11 @@ int main(void)
        /* Start the scheduler. */\r
        vTaskStartScheduler();\r
        \r
-       /* Infinite loop */\r
+       /* If all is well, the scheduler will now be running, and the following line\r
+       will never be reached.  If the following line does execute, then there was\r
+       insufficient FreeRTOS heap memory available for the idle and/or timer tasks\r
+       to be created.  See the memory management section on the FreeRTOS web site\r
+       for more details. */\r
        for( ;; );      \r
 }\r
 /*-----------------------------------------------------------*/\r