1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

tests: driver_mq3: vtimer -> xtimer

This commit is contained in:
Kaspar Schleiser 2015-09-03 21:36:13 +02:00
parent 941acb180d
commit 480a90256d
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ ifneq (,$(filter stm32f4discovery,$(BOARD)))
endif
USEMODULE += mq3
USEMODULE += vtimer
USEMODULE += xtimer
ifneq (,$(MQ3_ADC))
CFLAGS += -DMQ3_ADC=$(MQ3_ADC)

View File

@ -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;
}