diff --git a/tests/driver_mq3/Makefile b/tests/driver_mq3/Makefile index 4b7d1ee7bfff3b25adb1285d297dc20d5dbacfd4..55df254072ca019f9c5ce0172283f0d0f66701fc 100644 --- a/tests/driver_mq3/Makefile +++ b/tests/driver_mq3/Makefile @@ -10,7 +10,7 @@ ifneq (,$(filter stm32f4discovery,$(BOARD))) endif USEMODULE += mq3 -USEMODULE += vtimer +USEMODULE += xtimer ifneq (,$(MQ3_ADC)) CFLAGS += -DMQ3_ADC=$(MQ3_ADC) diff --git a/tests/driver_mq3/main.c b/tests/driver_mq3/main.c index 07bdb3c26706fcbeb227005d297daaade3276ba5..1a18397518b6986fd0b390a7e7a42b9821b880e0 100644 --- a/tests/driver_mq3/main.c +++ b/tests/driver_mq3/main.c @@ -20,7 +20,7 @@ #include <stdio.h> -#include "vtimer.h" +#include "xtimer.h" #include "mq3.h" #include "periph_conf.h" #include "periph/adc.h" @@ -58,7 +58,7 @@ int main(void) printf("RAW: %4i, per mille: %1i.%03i\n", raw, alc_a, alc_b); - vtimer_usleep(500 * 1000); + xtimer_usleep(500 * 1000); } return 0; }