aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmtx.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-08-26 14:43:09 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-08-26 14:43:09 +0000
commit3ae2e8ddb38615434dccd5a6462faae144633d27 (patch)
tree61758501d271ded3dc0b48f8888e398c04606f39 /test/testmtx.c
parentd9d134c7ad07db84b3555d56e9ea388593e60fb2 (diff)
downloadChibiOS-3ae2e8ddb38615434dccd5a6462faae144633d27.tar.gz
ChibiOS-3ae2e8ddb38615434dccd5a6462faae144633d27.tar.bz2
ChibiOS-3ae2e8ddb38615434dccd5a6462faae144633d27.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@409 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testmtx.c')
-rw-r--r--test/testmtx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testmtx.c b/test/testmtx.c
index 526a64ffa..2243b375f 100644
--- a/test/testmtx.c
+++ b/test/testmtx.c
@@ -21,6 +21,8 @@
#include "test.h"
+#ifdef CH_USE_MUTEXES
+
#define ALLOWED_DELAY 5
static Mutex m1, m2;
@@ -219,3 +221,5 @@ const struct testcase testmtx3 = {
mtx3_teardown,
mtx3_execute
};
+
+#endif /* CH_USE_MUTEXES */