Merge pull request #1083 from OlegHahm/test_hwtimer_w_thread_sleep

tests: added a thread_sleep() at the end
This commit is contained in:
Oleg Hahm 2014-05-17 00:49:44 +02:00
commit 94e4ee1611

View File

@ -21,6 +21,7 @@
#include <stdio.h>
#include "hwtimer.h"
#include "thread.h"
#define BASE_DELAY (1000UL * 1000UL)
#define DELTA_DELAY (1000UL * 1000UL)
@ -70,5 +71,6 @@ int main(void)
hwtimer_wait(HWTIMER_TICKS(1000UL * 1000UL));
puts("hwtimer set.");
thread_sleep();
return 0;
}