Skip to content

Commit

Permalink
tests: vtimer_msg_diff: get back vtimer_set_msg call
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Apr 24, 2015
1 parent 5a21d68 commit e6c3528
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/vtimer_msg_diff/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e6c3528

Please sign in to comment.