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

tests: driver_mq3: vtimer -> xtimer

parent 941acb18
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ ifneq (,$(filter stm32f4discovery,$(BOARD)))
endif
USEMODULE += mq3
USEMODULE += vtimer
USEMODULE += xtimer
ifneq (,$(MQ3_ADC))
CFLAGS += -DMQ3_ADC=$(MQ3_ADC)
......
......@@ -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;
}
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