Browse Source

tests: driver_lis3dh: vtimer -> xtimer

dev/timer
Kaspar Schleiser 8 years ago
parent
commit
8be416cc41
  1. 2
      tests/driver_lis3dh/Makefile
  2. 4
      tests/driver_lis3dh/main.c

2
tests/driver_lis3dh/Makefile

@ -4,7 +4,7 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_spi periph_gpio
USEMODULE += lis3dh
USEMODULE += vtimer
USEMODULE += xtimer
ifneq (,$(TEST_LIS3DH_SPI))
CFLAGS += -DTEST_LIS3DH_SPI=$(TEST_LIS3DH_SPI)

4
tests/driver_lis3dh/main.c

@ -21,7 +21,7 @@
#include <stdio.h>
#include "board.h"
#include "vtimer.h"
#include "xtimer.h"
#include "periph/spi.h"
#include "periph/gpio.h"
#include "lis3dh.h"
@ -187,7 +187,7 @@ int main(void)
--fifo_level;
}
vtimer_usleep(SLEEP);
xtimer_usleep(SLEEP);
}
return 0;

Loading…
Cancel
Save