mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
tests: periph_dac: vtimer -> xtimer
This commit is contained in:
parent
fb1ed800a1
commit
3695433092
@ -2,6 +2,6 @@ APPLICATION = periph_dac
|
||||
include ../Makefile.tests_common
|
||||
|
||||
FEATURES_REQUIRED = periph_dac
|
||||
USEMODULE += vtimer
|
||||
USEMODULE += xtimer
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "board.h"
|
||||
#include "vtimer.h"
|
||||
#include "xtimer.h"
|
||||
#include "periph/dac.h"
|
||||
#include "periph/adc.h"
|
||||
|
||||
@ -101,7 +101,7 @@ int main(void)
|
||||
write_value = 0;
|
||||
}
|
||||
/* sleep a little while */
|
||||
vtimer_usleep(DELAY);
|
||||
xtimer_usleep(DELAY);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user