From 72a53610f67fc0f43f220ffe8ec0f39efc1ade6e Mon Sep 17 00:00:00 2001 From: richardbarry Date: Thu, 19 Jan 2012 22:16:13 +0000 Subject: [PATCH] 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 --- 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( ;; ); } /*-----------------------------------------------------------*/ -- 2.39.5