diff --git a/tests/driver_lps331ap/Makefile b/tests/driver_lps331ap/Makefile index f5a4426a89b6b9ea8d1b49599ce8fbf5b9de77bb..b590eeb18df18ea7ef9329d890a614d39f1e0626 100644 --- a/tests/driver_lps331ap/Makefile +++ b/tests/driver_lps331ap/Makefile @@ -4,7 +4,7 @@ include ../Makefile.tests_common FEATURES_REQUIRED = periph_i2c USEMODULE += lps331ap -USEMODULE += vtimer +USEMODULE += xtimer ifneq (,$(TEST_LPS331AP_I2C)) CFLAGS += -DTEST_LPS331AP_I2C=$(TEST_LPS331AP_I2C) diff --git a/tests/driver_lps331ap/main.c b/tests/driver_lps331ap/main.c index 04f51d1bcbfb9d213304715f235860bea9798693..b410c517b1f42fc0492d0eba4307aca3b84d93ba 100644 --- a/tests/driver_lps331ap/main.c +++ b/tests/driver_lps331ap/main.c @@ -27,7 +27,7 @@ #include <stdio.h> -#include "vtimer.h" +#include "xtimer.h" #include "lps331ap.h" #define RATE LPS331AP_RATE_7HZ @@ -61,7 +61,7 @@ int main(void) printf("Pressure value: %2i.%03i bar - Temperature: %2i.%03i °C\n", pres_abs, pres, temp_abs, temp); - vtimer_usleep(SLEEP); + xtimer_usleep(SLEEP); } return 0;