mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
tests: periph_adc: vtimer -> xtimer
This commit is contained in:
parent
affcbffb6a
commit
fb1ed800a1
@ -2,6 +2,6 @@ APPLICATION = periph_adc
|
||||
include ../Makefile.tests_common
|
||||
|
||||
FEATURES_REQUIRED = periph_adc
|
||||
USEMODULE += vtimer
|
||||
USEMODULE += xtimer
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "board.h"
|
||||
#include "vtimer.h"
|
||||
#include "xtimer.h"
|
||||
#include "periph/adc.h"
|
||||
|
||||
#if ADC_NUMOF < 1
|
||||
@ -77,7 +77,7 @@ int main(void)
|
||||
printf("\n");
|
||||
|
||||
/* sleep a little while */
|
||||
vtimer_usleep(DELAY);
|
||||
xtimer_usleep(DELAY);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user