tests: driver_srf08: vtimer -> xtimer
This commit is contained in:
parent
4f8a495836
commit
1d34b27933
|
@ -3,7 +3,7 @@ include ../Makefile.tests_common
|
|||
|
||||
FEATURES_REQUIRED = periph_i2c
|
||||
|
||||
USEMODULE += vtimer
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += srf08
|
||||
|
||||
# Define default settings
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "vtimer.h"
|
||||
#include "xtimer.h"
|
||||
#include "srf08.h"
|
||||
#include "periph/i2c.h"
|
||||
|
||||
|
@ -73,7 +73,7 @@ int main(void)
|
|||
else {
|
||||
puts("An error occured");
|
||||
}
|
||||
vtimer_usleep(SLEEP);
|
||||
xtimer_usleep(SLEEP);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue