From 8be818e771e2149fca97d684f0f9d42ff134ccca Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Thu, 19 Jan 2012 22:16:13 +0000 Subject: [PATCH] Replace "Infinite loop" comment in main() with something sensible. --- Demo/CORTEX_M4F_STM32F407ZG-SK/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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( ;; ); } /*-----------------------------------------------------------*/