From 4f8a49583626010c963ed37e28135cf23eb011bf 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_servo: vtimer -> xtimer --- tests/driver_servo/Makefile | 2 +- tests/driver_servo/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/driver_servo/Makefile b/tests/driver_servo/Makefile index 043d5ce43f..b28102c819 100644 --- a/tests/driver_servo/Makefile +++ b/tests/driver_servo/Makefile @@ -3,7 +3,7 @@ include ../Makefile.tests_common FEATURES_REQUIRED = periph_pwm -USEMODULE += vtimer +USEMODULE += xtimer USEMODULE += servo include $(RIOTBASE)/Makefile.include diff --git a/tests/driver_servo/main.c b/tests/driver_servo/main.c index c6ba92cd8c..07da6bcacb 100644 --- a/tests/driver_servo/main.c +++ b/tests/driver_servo/main.c @@ -26,7 +26,7 @@ #include "cpu.h" #include "board.h" -#include "vtimer.h" +#include "xtimer.h" #include "periph/pwm.h" #include "servo.h" @@ -74,7 +74,7 @@ int main(void) step = -step; } - vtimer_usleep(WAIT); + xtimer_usleep(WAIT); } return 0; -- GitLab