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

tests: driver_isl29020: vtimer -> xtimer

parent 4a74e88a
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ ifneq (,$(filter iotlab-m3,$(BOARD)))
endif
USEMODULE += isl29020
USEMODULE += vtimer
USEMODULE += xtimer
ifneq (,$(TEST_ISL29020_I2C))
CFLAGS += -DTEST_ISL29020_I2C=$(TEST_ISL29020_I2C)
......
......@@ -27,7 +27,7 @@
#include <stdio.h>
#include "vtimer.h"
#include "xtimer.h"
#include "isl29020.h"
#define MODE ISL29020_MODE_AMBIENT
......@@ -52,7 +52,7 @@ int main(void)
while (1) {
value = isl29020_read(&dev);
printf("Light value: %5i LUX\n", value);
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