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

tests: periph_uart_int: vtimer -> xtimer

This commit is contained in:
Kaspar Schleiser 2015-09-03 21:36:13 +02:00
parent d4ed8fe63d
commit 144a912e37
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_uart
USEMODULE += vtimer
USEMODULE += xtimer
include $(RIOTBASE)/Makefile.include

View File

@ -36,7 +36,7 @@
#include "kernel.h"
#include "thread.h"
#include "board.h"
#include "vtimer.h"
#include "xtimer.h"
#include "ringbuffer.h"
#include "periph/uart.h"
#include "periph_conf.h"
@ -87,7 +87,7 @@ void *uart_thread(void *arg)
ringbuffer_add(&tx_buf, status, strlen(status));
uart_tx_begin(DEV);
vtimer_usleep(2000ul * 1000ul);
xtimer_usleep(2000ul * 1000ul);
}
return 0;