aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmbox.c')
-rw-r--r--test/testmbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testmbox.c b/test/testmbox.c
index 90b081c3e..8797536c6 100644
--- a/test/testmbox.c
+++ b/test/testmbox.c
@@ -51,7 +51,7 @@
* @brief Mailboxes header file
*/
-#if CH_USE_MAILBOXES
+#if CH_USE_MAILBOXES || defined(__DOXYGEN__)
#define ALLOWED_DELAY MS2ST(5)
#define MB_SIZE 5
@@ -218,7 +218,7 @@ ROMCONST struct testcase testmbox1 = {
* @brief Test sequence for mailboxes.
*/
ROMCONST struct testcase * ROMCONST patternmbox[] = {
-#if CH_USE_MAILBOXES
+#if CH_USE_MAILBOXES || defined(__DOXYGEN__)
&testmbox1,
#endif
NULL