diff options
Diffstat (limited to 'test/testsem.c')
-rw-r--r-- | test/testsem.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/testsem.c b/test/testsem.c index 7cb103789..46c6a7941 100644 --- a/test/testsem.c +++ b/test/testsem.c @@ -53,7 +53,12 @@ #define ALLOWED_DELAY MS2ST(5)
-static Semaphore sem1;
+/*
+ * Note, the static initializers are not really required because the
+ * variables are explicitly initialized in each test case. It is done in order
+ * to test the macros. + */
+static SEMAPHORE_DECL(sem1, 0);
/**
* @page test_sem_001 Enqueuing test
|