From a4a421cb1de5059e007ba93ff863e74175ea3ab2 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: periph_pwm: vtimer -> xtimer

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

diff --git a/tests/periph_pwm/Makefile b/tests/periph_pwm/Makefile
index 4c1404fbc8..237aa5c4b3 100644
--- a/tests/periph_pwm/Makefile
+++ b/tests/periph_pwm/Makefile
@@ -3,7 +3,6 @@ include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_pwm
 
-USEMODULE += vtimer
-DISABLE_MODULE += auto_init
+USEMODULE += xtimer
 
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/periph_pwm/main.c b/tests/periph_pwm/main.c
index 7cbc228e2b..7fa9aaf65d 100644
--- a/tests/periph_pwm/main.c
+++ b/tests/periph_pwm/main.c
@@ -27,7 +27,7 @@
 
 #include "cpu.h"
 #include "board.h"
-#include "vtimer.h"
+#include "xtimer.h"
 #include "periph/pwm.h"
 
 #define WAIT        (10000)
@@ -68,7 +68,7 @@ int main(void)
             step = -step;
         }
 
-        vtimer_usleep(WAIT);
+        xtimer_usleep(WAIT);
     }
 
     return 0;
-- 
GitLab