diff options
Diffstat (limited to 'test/testpools.c')
-rw-r--r-- | test/testpools.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/testpools.c b/test/testpools.c index c503ecbda..afdd37018 100644 --- a/test/testpools.c +++ b/test/testpools.c @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -47,7 +48,7 @@ * @brief Memory Pools test header file
*/
-#if CH_USE_MEMPOOLS
+#if CH_USE_MEMPOOLS || defined(__DOXYGEN__)
static MEMORYPOOL_DECL(mp1, THD_WA_SIZE(THREADS_STACK_SIZE), NULL);
@@ -103,7 +104,7 @@ ROMCONST struct testcase testpools1 = { * @brief Test sequence for pools.
*/
ROMCONST struct testcase * ROMCONST patternpools[] = {
-#if CH_USE_MEMPOOLS
+#if CH_USE_MEMPOOLS || defined(__DOXYGEN__)
&testpools1,
#endif
NULL
|