From 1d34b279335fdcc25dd56b8e1b4c20bff8090544 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_srf08: vtimer -> xtimer

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

diff --git a/tests/driver_srf08/Makefile b/tests/driver_srf08/Makefile
index 0eb8b32fc1..b0aef62a82 100644
--- a/tests/driver_srf08/Makefile
+++ b/tests/driver_srf08/Makefile
@@ -3,7 +3,7 @@ include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_i2c
 
-USEMODULE += vtimer
+USEMODULE += xtimer
 USEMODULE += srf08
 
 # Define default settings
diff --git a/tests/driver_srf08/main.c b/tests/driver_srf08/main.c
index 567d8e1fe6..0be8dded17 100644
--- a/tests/driver_srf08/main.c
+++ b/tests/driver_srf08/main.c
@@ -33,7 +33,7 @@
 
 #include <stdio.h>
 
-#include "vtimer.h"
+#include "xtimer.h"
 #include "srf08.h"
 #include "periph/i2c.h"
 
@@ -73,7 +73,7 @@ int main(void)
             else {
                 puts("An error occured");
             }
-            vtimer_usleep(SLEEP);
+            xtimer_usleep(SLEEP);
         }
     }
 }
-- 
GitLab