From e4a239b78a515655a892365a62700b8a474401b5 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser <kaspar@schleiser.de> Date: Thu, 3 Sep 2015 21:36:13 +0200 Subject: [PATCH] tests: driver_isl29020: vtimer -> xtimer --- tests/driver_isl29020/Makefile | 2 +- tests/driver_isl29020/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/driver_isl29020/Makefile b/tests/driver_isl29020/Makefile index 989872cf97..c5c52a55ab 100644 --- a/tests/driver_isl29020/Makefile +++ b/tests/driver_isl29020/Makefile @@ -10,7 +10,7 @@ ifneq (,$(filter iotlab-m3,$(BOARD))) endif USEMODULE += isl29020 -USEMODULE += vtimer +USEMODULE += xtimer ifneq (,$(TEST_ISL29020_I2C)) CFLAGS += -DTEST_ISL29020_I2C=$(TEST_ISL29020_I2C) diff --git a/tests/driver_isl29020/main.c b/tests/driver_isl29020/main.c index 6b0bcca2a7..1484078e5c 100644 --- a/tests/driver_isl29020/main.c +++ b/tests/driver_isl29020/main.c @@ -27,7 +27,7 @@ #include <stdio.h> -#include "vtimer.h" +#include "xtimer.h" #include "isl29020.h" #define MODE ISL29020_MODE_AMBIENT @@ -52,7 +52,7 @@ int main(void) while (1) { value = isl29020_read(&dev); printf("Light value: %5i LUX\n", value); - vtimer_usleep(SLEEP); + xtimer_usleep(SLEEP); } return 0; -- GitLab