diff options
Diffstat (limited to 'test/testpools.c')
-rw-r--r-- | test/testpools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testpools.c b/test/testpools.c index 6479f20ea..afdd37018 100644 --- a/test/testpools.c +++ b/test/testpools.c @@ -48,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);
@@ -104,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
|