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:
parent
d4ed8fe63d
commit
144a912e37
@ -3,6 +3,6 @@ include ../Makefile.tests_common
|
||||
|
||||
FEATURES_REQUIRED = periph_uart
|
||||
|
||||
USEMODULE += vtimer
|
||||
USEMODULE += xtimer
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user