Browse Source

tests: vtimer_msg_diff: get back vtimer_set_msg call

dev/timer
Kaspar Schleiser 8 years ago
parent
commit
e6c3528980
  1. 2
      tests/vtimer_msg_diff/main.c

2
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;

Loading…
Cancel
Save