Merge pull request #1083 from OlegHahm/test_hwtimer_w_thread_sleep
tests: added a thread_sleep() at the end
This commit is contained in:
commit
94e4ee1611
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user