From: richardbarry Date: Thu, 19 Jan 2012 22:16:13 +0000 (+0000) Subject: Replace "Infinite loop" comment in main() with something sensible. X-Git-Tag: V7.1.1~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72a53610f67fc0f43f220ffe8ec0f39efc1ade6e;p=freertos Replace "Infinite loop" comment in main() with something sensible. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1666 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/CORTEX_M4F_STM32F407ZG-SK/main.c b/Demo/CORTEX_M4F_STM32F407ZG-SK/main.c index d7ad0bee6..6b92370fc 100644 --- a/Demo/CORTEX_M4F_STM32F407ZG-SK/main.c +++ b/Demo/CORTEX_M4F_STM32F407ZG-SK/main.c @@ -277,7 +277,11 @@ int main(void) /* Start the scheduler. */ vTaskStartScheduler(); - /* Infinite loop */ + /* If all is well, the scheduler will now be running, and the following line + will never be reached. If the following line does execute, then there was + insufficient FreeRTOS heap memory available for the idle and/or timer tasks + to be created. See the memory management section on the FreeRTOS web site + for more details. */ for( ;; ); } /*-----------------------------------------------------------*/