From ef01db6d69e3d986413f3c5714921d57b74e6e4d 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_isl29125: vtimer -> xtimer

---
 tests/driver_isl29125/Makefile | 2 +-
 tests/driver_isl29125/main.c   | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/driver_isl29125/Makefile b/tests/driver_isl29125/Makefile
index f9330a02d9..812563e368 100644
--- a/tests/driver_isl29125/Makefile
+++ b/tests/driver_isl29125/Makefile
@@ -4,7 +4,7 @@ include ../Makefile.tests_common
 FEATURES_REQUIRED = periph_i2c
 
 USEMODULE += isl29125
-USEMODULE += vtimer
+USEMODULE += xtimer
 
 ifneq (,$(TEST_ISL29125_I2C))
   CFLAGS += -DTEST_ISL29125_I2C=$(TEST_ISL29125_I2C)
diff --git a/tests/driver_isl29125/main.c b/tests/driver_isl29125/main.c
index 0fbe740b90..5241b90ffd 100644
--- a/tests/driver_isl29125/main.c
+++ b/tests/driver_isl29125/main.c
@@ -29,7 +29,7 @@
 #include <stdio.h>
 #include <string.h>
 
-#include "vtimer.h"
+#include "xtimer.h"
 #include "isl29125.h"
 
 #define SLEEP       (250 * 1000U)
@@ -66,7 +66,7 @@ int main(void)
     for (int i = 0; i < sizeof(modes); i++) {
         printf("Setting mode %s\n", mode_names[i]);
         isl29125_set_mode(&dev, modes[i]);
-        vtimer_usleep(SLEEP);
+        xtimer_usleep(SLEEP);
         isl29125_read_rgb_color(&dev, &data8bit);
         printf("RGB value: (%3i / %3i / %3i) 8 bit\n",
                 data8bit.r, data8bit.g, data8bit.b);
@@ -74,12 +74,12 @@ int main(void)
 
     puts("Resetting mode to RGB and reading continuously");
     isl29125_set_mode(&dev, ISL29125_MODE_RGB);
-    vtimer_usleep(SLEEP);
+    xtimer_usleep(SLEEP);
     while (1) {
         isl29125_read_rgb_lux(&dev, &data);
         printf("RGB value: (%5i / %5i / %5i) lux\n",
                 (int)data.red, (int)data.green, (int)data.blue);
-        vtimer_usleep(SLEEP);
+        xtimer_usleep(SLEEP);
     }
 
     return 0;
-- 
GitLab