aboutsummaryrefslogtreecommitdiffstats
path: root/src/chheap.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-06 08:56:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-06 08:56:34 +0000
commit15ee17c8740a378cffcae681421b9e28fcde3d4c (patch)
treed5af4d9abff327bc5c05ec2b5ba56a6668aacf28 /src/chheap.c
parent517440bad9d6d2f27689e4e3de72794d869d2c26 (diff)
downloadChibiOS-15ee17c8740a378cffcae681421b9e28fcde3d4c.tar.gz
ChibiOS-15ee17c8740a378cffcae681421b9e28fcde3d4c.tar.bz2
ChibiOS-15ee17c8740a378cffcae681421b9e28fcde3d4c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@426 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chheap.c')
-rw-r--r--src/chheap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/chheap.c b/src/chheap.c
index ecdf7284a..e8ce605c7 100644
--- a/src/chheap.c
+++ b/src/chheap.c
@@ -185,11 +185,13 @@ void chHeapFree(void *p) {
/**
* Determines the heap status.
- * @sizep pointer to a variable that will receive the total fragmented free
- * space
+ * @param sizep pointer to a variable that will receive the total fragmented
+ * free space
* @return the number of fragments in the heap
* @note This function is meant to be used in the test suite, it should not be
* really useful for the application code.
+ * @note This function is not implemented when the \p CH_USE_MALLOC_HEAP
+ * configuration option is used (it always returns zero).
*/
size_t chHeapStatus(size_t *sizep) {
struct header *qp;