Skip to content
Snippets Groups Projects
Commit 4a74e88a authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

tests: driver_ina220: vtimer -> xtimer

parent 6ede7696
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ include ../Makefile.tests_common ...@@ -4,7 +4,7 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c FEATURES_REQUIRED = periph_i2c
USEMODULE += ina220 USEMODULE += ina220
USEMODULE += vtimer USEMODULE += xtimer
ifneq (,$(TEST_INA220_I2C)) ifneq (,$(TEST_INA220_I2C))
CFLAGS += -DTEST_INA220_I2C=$(TEST_INA220_I2C) CFLAGS += -DTEST_INA220_I2C=$(TEST_INA220_I2C)
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <stdio.h> #include <stdio.h>
#include "vtimer.h" #include "xtimer.h"
#include "ina220.h" #include "ina220.h"
/* Use the following configuration: /* Use the following configuration:
...@@ -99,7 +99,7 @@ int main(void) ...@@ -99,7 +99,7 @@ int main(void)
ina220_read_power(&dev, &val); ina220_read_power(&dev, &val);
printf("\tpower: %6d\n", val); printf("\tpower: %6d\n", val);
vtimer_usleep(SLEEP); xtimer_usleep(SLEEP);
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment