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

tests: driver_lps331ap: vtimer -> xtimer

parent 8be416cc
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += lps331ap
USEMODULE += vtimer
USEMODULE += xtimer
ifneq (,$(TEST_LPS331AP_I2C))
CFLAGS += -DTEST_LPS331AP_I2C=$(TEST_LPS331AP_I2C)
......
......@@ -27,7 +27,7 @@
#include <stdio.h>
#include "vtimer.h"
#include "xtimer.h"
#include "lps331ap.h"
#define RATE LPS331AP_RATE_7HZ
......@@ -61,7 +61,7 @@ int main(void)
printf("Pressure value: %2i.%03i bar - Temperature: %2i.%03i °C\n",
pres_abs, pres, temp_abs, temp);
vtimer_usleep(SLEEP);
xtimer_usleep(SLEEP);
}
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