From e6c352898000ad442e6f0821dad6dfd2d105e285 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 24 Apr 2015 14:50:15 +0200 Subject: [PATCH] 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;