1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests: irq: switch to xtimer

This commit is contained in:
Kaspar Schleiser 2015-09-03 19:01:09 +02:00
parent 25c0fc0eb7
commit 8e446af6bb
2 changed files with 4 additions and 3 deletions

View File

@ -2,5 +2,6 @@ APPLICATION = irq
include ../Makefile.tests_common
USEMODULE += auto_init
USEMODULE += xtimer
include $(RIOTBASE)/Makefile.include

View File

@ -20,7 +20,7 @@
#include <stdio.h>
#include "hwtimer.h"
#include "xtimer.h"
#include "thread.h"
char busy_stack[THREAD_STACKSIZE_MAIN];
@ -58,8 +58,8 @@ int main(void)
busy_thread, NULL, "busy_thread");
puts("busy_thread created");
puts("hwtimer_wait()");
hwtimer_wait(HWTIMER_TICKS(100000));
puts("xtimer_wait()");
xtimer_usleep(100000);
busy = 0;
puts("main: return");