From 4a74e88ad21272cc90fed7a0a326acb7286ed7a8 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Thu, 3 Sep 2015 21:36:13 +0200 Subject: [PATCH] tests: driver_ina220: vtimer -> xtimer --- tests/driver_ina220/Makefile | 2 +- tests/driver_ina220/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/driver_ina220/Makefile b/tests/driver_ina220/Makefile index 5dd0e6384..debe98e59 100644 --- a/tests/driver_ina220/Makefile +++ b/tests/driver_ina220/Makefile @@ -4,7 +4,7 @@ include ../Makefile.tests_common FEATURES_REQUIRED = periph_i2c USEMODULE += ina220 -USEMODULE += vtimer +USEMODULE += xtimer ifneq (,$(TEST_INA220_I2C)) CFLAGS += -DTEST_INA220_I2C=$(TEST_INA220_I2C) diff --git a/tests/driver_ina220/main.c b/tests/driver_ina220/main.c index b6c2885f1..cb578f305 100644 --- a/tests/driver_ina220/main.c +++ b/tests/driver_ina220/main.c @@ -27,7 +27,7 @@ #include -#include "vtimer.h" +#include "xtimer.h" #include "ina220.h" /* Use the following configuration: @@ -99,7 +99,7 @@ int main(void) ina220_read_power(&dev, &val); printf("\tpower: %6d\n", val); - vtimer_usleep(SLEEP); + xtimer_usleep(SLEEP); } return 0;