Browse Source

tests: driver_srf08: vtimer -> xtimer

dev/timer
Kaspar Schleiser 8 years ago
parent
commit
1d34b27933
  1. 2
      tests/driver_srf08/Makefile
  2. 4
      tests/driver_srf08/main.c

2
tests/driver_srf08/Makefile

@ -3,7 +3,7 @@ include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += vtimer
USEMODULE += xtimer
USEMODULE += srf08
# Define default settings

4
tests/driver_srf08/main.c

@ -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…
Cancel
Save