From 369543309292ad5a0a49e5a18d1ac4955d41a48b 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_dac: vtimer -> xtimer --- tests/periph_dac/Makefile | 2 +- tests/periph_dac/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/periph_dac/Makefile b/tests/periph_dac/Makefile index a286f13ce1..359ca0a709 100644 --- a/tests/periph_dac/Makefile +++ b/tests/periph_dac/Makefile @@ -2,6 +2,6 @@ APPLICATION = periph_dac include ../Makefile.tests_common FEATURES_REQUIRED = periph_dac -USEMODULE += vtimer +USEMODULE += xtimer include $(RIOTBASE)/Makefile.include diff --git a/tests/periph_dac/main.c b/tests/periph_dac/main.c index 1b440deb7d..a3e5352d5f 100644 --- a/tests/periph_dac/main.c +++ b/tests/periph_dac/main.c @@ -23,7 +23,7 @@ #include "cpu.h" #include "board.h" -#include "vtimer.h" +#include "xtimer.h" #include "periph/dac.h" #include "periph/adc.h" @@ -101,7 +101,7 @@ int main(void) write_value = 0; } /* sleep a little while */ - vtimer_usleep(DELAY); + xtimer_usleep(DELAY); } return 0; -- GitLab