]> git.sur5r.net Git - freertos/commitdiff
Correct the name of a variable in the A2F Blinky demos from xFreeStackSpace to xFreeH...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 4 May 2011 20:25:18 +0000 (20:25 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 4 May 2011 20:25:18 +0000 (20:25 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1409 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/CORTEX_A2F200_IAR_and_Keil/main-blinky.c
Demo/CORTEX_A2F200_SoftConsole/main-blinky.c

index cd04278b2dc0db450b2ee75a8d03b43a38e06dcc..7cd37fca6d3e75fb1a0262c219e0634dcf364361 100644 (file)
@@ -363,14 +363,14 @@ void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName
 \r
 void vApplicationIdleHook( void )\r
 {\r
-volatile size_t xFreeStackSpace;\r
+volatile size_t xFreeHeapSpace;\r
 \r
        /* This function is called on each cycle of the idle task.  In this case it\r
        does nothing useful, other than report the amout of FreeRTOS heap that\r
        remains unallocated. */\r
-       xFreeStackSpace = xPortGetFreeHeapSize();\r
+       xFreeHeapSpace = xPortGetFreeHeapSize();\r
 \r
-       if( xFreeStackSpace > 100 )\r
+       if( xFreeHeapSpace > 100 )\r
        {\r
                /* By now, the kernel has allocated everything it is going to, so\r
                if there is a lot of heap remaining unallocated then\r
index cd04278b2dc0db450b2ee75a8d03b43a38e06dcc..7cd37fca6d3e75fb1a0262c219e0634dcf364361 100644 (file)
@@ -363,14 +363,14 @@ void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName
 \r
 void vApplicationIdleHook( void )\r
 {\r
-volatile size_t xFreeStackSpace;\r
+volatile size_t xFreeHeapSpace;\r
 \r
        /* This function is called on each cycle of the idle task.  In this case it\r
        does nothing useful, other than report the amout of FreeRTOS heap that\r
        remains unallocated. */\r
-       xFreeStackSpace = xPortGetFreeHeapSize();\r
+       xFreeHeapSpace = xPortGetFreeHeapSize();\r
 \r
-       if( xFreeStackSpace > 100 )\r
+       if( xFreeHeapSpace > 100 )\r
        {\r
                /* By now, the kernel has allocated everything it is going to, so\r
                if there is a lot of heap remaining unallocated then\r