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

tests: driver_tmp006: vtimer -> xtimer

parent 1d34b279
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 += tmp006 USEMODULE += tmp006
USEMODULE += vtimer USEMODULE += xtimer
ifneq (,$(TEST_TMP006_I2C)) ifneq (,$(TEST_TMP006_I2C))
CFLAGS += -DTEST_TMP006_I2C=$(TEST_TMP006_I2C) CFLAGS += -DTEST_TMP006_I2C=$(TEST_TMP006_I2C)
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <stdio.h> #include <stdio.h>
#include "vtimer.h" #include "xtimer.h"
#include "tmp006.h" #include "tmp006.h"
int main(void) int main(void)
...@@ -70,7 +70,7 @@ int main(void) ...@@ -70,7 +70,7 @@ int main(void)
tmp006_convert(rawvolt, rawtemp, &tamb, &tobj); tmp006_convert(rawvolt, rawtemp, &tamb, &tobj);
printf("Data Tabm: %d Tobj: %d\n", (int)(tamb*100), (int)(tobj*100)); printf("Data Tabm: %d Tobj: %d\n", (int)(tamb*100), (int)(tobj*100));
vtimer_usleep(TMP006_CONVERSION_TIME); xtimer_usleep(TMP006_CONVERSION_TIME);
} }
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