aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmbox.c')
-rw-r--r--test/testmbox.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/testmbox.c b/test/testmbox.c
index 92897b1dc..2403afce6 100644
--- a/test/testmbox.c
+++ b/test/testmbox.c
@@ -37,7 +37,6 @@
* <h2>Preconditions</h2>
* The module requires the following kernel options:
* - @p CH_USE_MAILBOXES
- * - @p CH_USE_SEMAPHORES_TIMEOUT
* .
* In case some of the required options are not enabled then some or all tests
* may be skipped.
@@ -51,7 +50,7 @@
* @brief Mailboxes header file
*/
-#if CH_USE_MAILBOXES && CH_USE_SEMAPHORES_TIMEOUT
+#if CH_USE_MAILBOXES
#define ALLOWED_DELAY MS2ST(5)
#define MB_SIZE 5
@@ -164,13 +163,13 @@ const struct testcase testmbox1 = {
mbox1_execute
};
-#endif /* CH_USE_MAILBOXES && CH_USE_SEMAPHORES_TIMEOUT */
+#endif /* CH_USE_MAILBOXES */
/*
* Test sequence for mailboxes pattern.
*/
const struct testcase * const patternmbox[] = {
-#if CH_USE_MAILBOXES && CH_USE_SEMAPHORES_TIMEOUT
+#if CH_USE_MAILBOXES
&testmbox1,
#endif
NULL