tests: driver_adt7310: vtimer -> xtimer

This commit is contained in:
Kaspar Schleiser 2015-09-03 21:36:12 +02:00
parent c530ca4db5
commit ada00d1ca6
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_spi periph_gpio FEATURES_REQUIRED = periph_spi periph_gpio
USEMODULE += adt7310 USEMODULE += adt7310
USEMODULE += vtimer USEMODULE += xtimer
ifneq (,$(TEST_ADT7310_SPI)) ifneq (,$(TEST_ADT7310_SPI))
CFLAGS += -DTEST_ADT7310_SPI=$(TEST_ADT7310_SPI) CFLAGS += -DTEST_ADT7310_SPI=$(TEST_ADT7310_SPI)

View File

@ -23,7 +23,7 @@
#include <stdlib.h> #include <stdlib.h>
#include "board.h" #include "board.h"
#include "vtimer.h" #include "xtimer.h"
#include "periph/spi.h" #include "periph/spi.h"
#include "adt7310.h" #include "adt7310.h"
@ -126,7 +126,7 @@ int main(void)
{ {
return 1; return 1;
} }
vtimer_usleep(SLEEP_CONT); xtimer_usleep(SLEEP_CONT);
} }
puts("Set mode to 1SPS, 13 bit... "); puts("Set mode to 1SPS, 13 bit... ");
if (adt7310_set_config(&dev, ADT7310_MODE_1SPS) == 0) { if (adt7310_set_config(&dev, ADT7310_MODE_1SPS) == 0) {
@ -144,7 +144,7 @@ int main(void)
{ {
return 1; return 1;
} }
vtimer_usleep(SLEEP_1SPS); xtimer_usleep(SLEEP_1SPS);
} }
} }