diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-07 19:14:15 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-07 19:14:15 +0000 |
commit | 330944e658f7a74a58d0d3157af3cafa1feaa3ea (patch) | |
tree | f8bca200ba940e32b19c4ca1a58daf486d158380 /test/testdyn.c | |
parent | 4f8cb84a03321197557ed7df0a09abecfeb5166a (diff) | |
download | ChibiOS-330944e658f7a74a58d0d3157af3cafa1feaa3ea.tar.gz ChibiOS-330944e658f7a74a58d0d3157af3cafa1feaa3ea.tar.bz2 ChibiOS-330944e658f7a74a58d0d3157af3cafa1feaa3ea.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@742 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testdyn.c')
-rw-r--r-- | test/testdyn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testdyn.c b/test/testdyn.c index 37b6b9bc4..f59cdaa14 100644 --- a/test/testdyn.c +++ b/test/testdyn.c @@ -21,7 +21,7 @@ #include "test.h"
-#ifdef CH_USE_DYNAMIC
+#if CH_USE_DYNAMIC
static msg_t thread(void *p) {
@@ -29,7 +29,7 @@ static msg_t thread(void *p) { return 0;
}
-#ifdef CH_USE_HEAP
+#if CH_USE_HEAP
static char *dyn1_gettest(void) {
return "Dynamic APIs, threads creation from heap";
@@ -78,7 +78,7 @@ const struct testcase testdyn1 = { };
#endif /* CH_USE_HEAP */
-#ifdef CH_USE_MEMPOOLS
+#if CH_USE_MEMPOOLS
static MemoryPool mp1;
static char *dyn2_gettest(void) {
|