diff --git a/tests/driver_lis3dh/Makefile b/tests/driver_lis3dh/Makefile index a8dfcc2684..883ec9389c 100644 --- a/tests/driver_lis3dh/Makefile +++ b/tests/driver_lis3dh/Makefile @@ -4,7 +4,7 @@ include ../Makefile.tests_common FEATURES_REQUIRED = periph_spi periph_gpio USEMODULE += lis3dh -USEMODULE += vtimer +USEMODULE += xtimer ifneq (,$(TEST_LIS3DH_SPI)) CFLAGS += -DTEST_LIS3DH_SPI=$(TEST_LIS3DH_SPI) diff --git a/tests/driver_lis3dh/main.c b/tests/driver_lis3dh/main.c index 45f48f7330..b32a557e1a 100644 --- a/tests/driver_lis3dh/main.c +++ b/tests/driver_lis3dh/main.c @@ -21,7 +21,7 @@ #include #include "board.h" -#include "vtimer.h" +#include "xtimer.h" #include "periph/spi.h" #include "periph/gpio.h" #include "lis3dh.h" @@ -187,7 +187,7 @@ int main(void) --fifo_level; } - vtimer_usleep(SLEEP); + xtimer_usleep(SLEEP); } return 0;