mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests: driver_lis3dh: vtimer -> xtimer
This commit is contained in:
parent
122b238587
commit
8be416cc41
@ -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)
|
||||
|
@ -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…
Reference in New Issue
Block a user