aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmsg.c')
-rw-r--r--test/testmsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testmsg.c b/test/testmsg.c
index 0fadc8d98..54c049d44 100644
--- a/test/testmsg.c
+++ b/test/testmsg.c
@@ -49,7 +49,7 @@
* @brief Messages header file
*/
-#if CH_USE_MESSAGES
+#if CH_USE_MESSAGES || defined(__DOXYGEN__)
/**
* @page test_msg_001 Messages Server loop
@@ -105,7 +105,7 @@ ROMCONST struct testcase testmsg1 = {
* @brief Test sequence for messages.
*/
ROMCONST struct testcase * ROMCONST patternmsg[] = {
-#if CH_USE_MESSAGES
+#if CH_USE_MESSAGES || defined(__DOXYGEN__)
&testmsg1,
#endif
NULL