- /* This function is called on each cycle of the idle task. In this case it\r
- does nothing useful, other than report the amount of FreeRTOS heap that\r
- remains unallocated. */\r
- xFreeStackSpace = xPortGetFreeHeapSize();\r
-\r
- if( xFreeStackSpace > 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
- the value of configTOTAL_HEAP_SIZE in FreeRTOSConfig.h can be\r
- reduced accordingly. */\r
- }\r
-\r