From 5a21d68f70f7f7c7a0fea863d647a6aef0065fb6 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 24 Apr 2015 14:29:44 +0200 Subject: [PATCH 1/2] tests: vtimer_msg: get back vtimer_set_msg call --- tests/vtimer_msg/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vtimer_msg/main.c b/tests/vtimer_msg/main.c index 9775fbebfb1b..74a2e3fd2b3f 100644 --- a/tests/vtimer_msg/main.c +++ b/tests/vtimer_msg/main.c @@ -63,6 +63,8 @@ void *timer_thread(void *arg) tmsg->interval.seconds, tmsg->interval.microseconds, tmsg->msg); + + vtimer_set_msg(&tmsg->timer, tmsg->interval, thread_getpid(), MSG_TIMER, tmsg); } } From e6c352898000ad442e6f0821dad6dfd2d105e285 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 24 Apr 2015 14:50:15 +0200 Subject: [PATCH 2/2] tests: vtimer_msg_diff: get back vtimer_set_msg call --- tests/vtimer_msg_diff/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vtimer_msg_diff/main.c b/tests/vtimer_msg_diff/main.c index 7fb5703c8dd8..d64feb27b00c 100644 --- a/tests/vtimer_msg_diff/main.c +++ b/tests/vtimer_msg_diff/main.c @@ -87,6 +87,8 @@ void *timer_thread(void *arg) printf("WARNING: timer difference %" PRId64 "us exceeds MAXDIFF(%d)!\n", diff, MAXDIFF); } + vtimer_set_msg(&tmsg->timer, tmsg->interval, thread_getpid(), MSG_TIMER, tmsg); + if (tmsg->count >= MAXCOUNT) { printf("Maximum count reached. (%d) Exiting.\n", MAXCOUNT); break;