From 25c0fc0eb7d8f0d7d7a91df9d30f9fff883b1667 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Thu, 3 Sep 2015 18:57:33 +0200 Subject: [PATCH] tests: driver_nrf24l01p_lowlevel: swithc to xtimer --- tests/driver_nrf24l01p_lowlevel/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/driver_nrf24l01p_lowlevel/main.c b/tests/driver_nrf24l01p_lowlevel/main.c index 42c8e7629..3a799ee71 100644 --- a/tests/driver_nrf24l01p_lowlevel/main.c +++ b/tests/driver_nrf24l01p_lowlevel/main.c @@ -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) {