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

tests: driver_lsm303dlhc: vtimer -> xtimer

parent 205aed03
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ifneq (,$(filter iotlab-m3,$(BOARD))) ...@@ -11,7 +11,7 @@ ifneq (,$(filter iotlab-m3,$(BOARD)))
endif endif
USEMODULE += lsm303dlhc USEMODULE += lsm303dlhc
USEMODULE += vtimer USEMODULE += xtimer
ifneq (,$(TEST_LSM303DLHC_I2C)) ifneq (,$(TEST_LSM303DLHC_I2C))
CFLAGS += -DTEST_LSM303DLHC_I2C=$(TEST_LSM303DLHC_I2C) CFLAGS += -DTEST_LSM303DLHC_I2C=$(TEST_LSM303DLHC_I2C)
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <stdio.h> #include <stdio.h>
#include "vtimer.h" #include "xtimer.h"
#include "lsm303dlhc.h" #include "lsm303dlhc.h"
#define SLEEP (100 * 1000U) #define SLEEP (100 * 1000U)
...@@ -90,7 +90,7 @@ int main(void) ...@@ -90,7 +90,7 @@ int main(void)
puts("\nFailed reading magnetometer values\n"); puts("\nFailed reading magnetometer values\n");
} }
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