diff --git a/tests/vtimer_msg_diff/main.c b/tests/vtimer_msg_diff/main.c index 7fb5703c8..d64feb27b 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;