From 9e5823f0609265e1690f65efe6f0624c630e78a7 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 26 Jan 2010 10:19:26 +0000 Subject: [PATCH] Made retransmission timeout configurable --- core/net/rime/runicast.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/net/rime/runicast.c b/core/net/rime/runicast.c index 34f1fa016..c2fda5fdc 100644 --- a/core/net/rime/runicast.c +++ b/core/net/rime/runicast.c @@ -34,7 +34,7 @@ * * This file is part of the Contiki operating system. * - * $Id: runicast.c,v 1.8 2009/12/18 14:49:42 nifi Exp $ + * $Id: runicast.c,v 1.9 2010/01/26 10:19:26 adamdunkels Exp $ */ /** @@ -51,7 +51,11 @@ #define RUNICAST_PACKET_ID_BITS 2 +#ifdef RUNICAST_CONF_REXMIT_TIME +#define REXMIT_TIME RUNICAST_CONF_REXMIT_TIME +#else /* RUNICAST_CONF_REXMIT_TIME */ #define REXMIT_TIME CLOCK_SECOND +#endif /* RUNICAST_CONF_REXMIT_TIME */ static const struct packetbuf_attrlist attributes[] = {