aboutsummaryrefslogtreecommitdiffstats
path: root/test/testsem.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testsem.c')
-rw-r--r--test/testsem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsem.c b/test/testsem.c
index 77025fc71..a49509a91 100644
--- a/test/testsem.c
+++ b/test/testsem.c
@@ -135,6 +135,7 @@ static void sem2_setup(void) {
static msg_t thread2(void *p) {
+ (void)p;
chThdSleepMilliseconds(50);
chSysLock();
chSemSignalI(&sem1); /* For coverage reasons */
@@ -215,6 +216,7 @@ static void sem3_setup(void) {
static msg_t thread3(void *p) {
+ (void)p;
chSemWait(&sem1);
chSemSignal(&sem1);
return 0;