]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_A2F200_IAR_and_Keil/main-blinky.c
New MicroBlaze port: Added a FreeRTOS exception handler, and installed it in each...
[freertos] / Demo / CORTEX_A2F200_IAR_and_Keil / main-blinky.c
index cd04278b2dc0db450b2ee75a8d03b43a38e06dcc..5444e0499411172097c7c4c6258e6bb4f423237f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.0.0 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+    FreeRTOS V7.0.1 - Copyright (C) 2011 Real Time Engineers Ltd.\r
 \r
 \r
        FreeRTOS supports many tools and architectures. V7.0.0 is sponsored by:\r
@@ -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