\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
\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