tests: periph_pwm: vtimer -> xtimer

This commit is contained in:
Kaspar Schleiser 2015-09-03 21:36:13 +02:00
parent 3695433092
commit a4a421cb1d
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_pwm
USEMODULE += vtimer
DISABLE_MODULE += auto_init
USEMODULE += xtimer
include $(RIOTBASE)/Makefile.include

View File

@ -27,7 +27,7 @@
#include "cpu.h"
#include "board.h"
#include "vtimer.h"
#include "xtimer.h"
#include "periph/pwm.h"
#define WAIT (10000)
@ -68,7 +68,7 @@ int main(void)
step = -step;
}
vtimer_usleep(WAIT);
xtimer_usleep(WAIT);
}
return 0;