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
|
FEATURES_REQUIRED = periph_i2c
|
||||||
|
|
||||||
USEMODULE += vtimer
|
USEMODULE += xtimer
|
||||||
USEMODULE += srf08
|
USEMODULE += srf08
|
||||||
|
|
||||||
# Define default settings
|
# Define default settings
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "vtimer.h"
|
#include "xtimer.h"
|
||||||
#include "srf08.h"
|
#include "srf08.h"
|
||||||
#include "periph/i2c.h"
|
#include "periph/i2c.h"
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ int main(void)
|
|||||||
else {
|
else {
|
||||||
puts("An error occured");
|
puts("An error occured");
|
||||||
}
|
}
|
||||||
vtimer_usleep(SLEEP);
|
xtimer_usleep(SLEEP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user