From 0438fe91466ebf24fbc52a0413751797be839e8c 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_lsm303dlhc: vtimer -> xtimer

---
 tests/driver_lsm303dlhc/Makefile | 2 +-
 tests/driver_lsm303dlhc/main.c   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/driver_lsm303dlhc/Makefile b/tests/driver_lsm303dlhc/Makefile
index 347912db73..7dc5450e74 100644
--- a/tests/driver_lsm303dlhc/Makefile
+++ b/tests/driver_lsm303dlhc/Makefile
@@ -11,7 +11,7 @@ ifneq (,$(filter iotlab-m3,$(BOARD)))
 endif
 
 USEMODULE += lsm303dlhc
-USEMODULE += vtimer
+USEMODULE += xtimer
 
 ifneq (,$(TEST_LSM303DLHC_I2C))
   CFLAGS += -DTEST_LSM303DLHC_I2C=$(TEST_LSM303DLHC_I2C)
diff --git a/tests/driver_lsm303dlhc/main.c b/tests/driver_lsm303dlhc/main.c
index cb9a9b3693..465b5cdcc3 100644
--- a/tests/driver_lsm303dlhc/main.c
+++ b/tests/driver_lsm303dlhc/main.c
@@ -36,7 +36,7 @@
 
 #include <stdio.h>
 
-#include "vtimer.h"
+#include "xtimer.h"
 #include "lsm303dlhc.h"
 
 #define SLEEP       (100 * 1000U)
@@ -90,7 +90,7 @@ int main(void)
             puts("\nFailed reading magnetometer values\n");
         }
 
-        vtimer_usleep(SLEEP);
+        xtimer_usleep(SLEEP);
     }
 
     return 0;
-- 
GitLab