Skip to content
Snippets Groups Projects
Commit 25c0fc0e authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

tests: driver_nrf24l01p_lowlevel: swithc to xtimer

parent 75720c70
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@
#include "periph/spi.h"
#include "periph/gpio.h"
#include "vtimer.h"
#include "hwtimer.h"
#include "xtimer.h"
#include "shell.h"
#include "shell_commands.h"
#include "thread.h"
......@@ -241,7 +241,7 @@ int cmd_send(int argc, char **argv)
/* trigger transmitting */
nrf24l01p_transmit(&nrf24l01p_0);
/* wait while data is pysically transmitted */
hwtimer_wait(DELAY_DATA_ON_AIR);
xtimer_usleep(DELAY_DATA_ON_AIR);
/* get status of the transceiver */
status = nrf24l01p_get_status(&nrf24l01p_0);
if (status < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment