From 58cb5a27385c1115aa011bc8e1eccf123fbc4df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= Date: Tue, 10 Nov 2015 12:42:45 +0100 Subject: [PATCH] examples: gnrc_networking: vtimer to xtimer --- examples/gnrc_networking/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gnrc_networking/udp.c b/examples/gnrc_networking/udp.c index 2344045279..af10651504 100644 --- a/examples/gnrc_networking/udp.c +++ b/examples/gnrc_networking/udp.c @@ -27,7 +27,7 @@ #include "net/gnrc/udp.h" #include "net/gnrc/pktdump.h" #include "timex.h" -#include "vtimer.h" +#include "xtimer.h" static gnrc_netreg_entry_t server = { NULL, GNRC_NETREG_DEMUX_CTX_ALL, KERNEL_PID_UNDEF }; @@ -83,7 +83,7 @@ static void send(char *addr_str, char *port_str, char *data, unsigned int num, } printf("Success: send %u byte to [%s]:%u\n", (unsigned)payload->size, addr_str, tmp); - vtimer_usleep(delay); + xtimer_usleep(delay); } }