Made retransmission timeout configurable

This commit is contained in:
adamdunkels 2010-01-26 10:19:26 +00:00
parent b728c0927c
commit 9e5823f060

View File

@ -34,7 +34,7 @@
* *
* This file is part of the Contiki operating system. * 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 #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 #define REXMIT_TIME CLOCK_SECOND
#endif /* RUNICAST_CONF_REXMIT_TIME */
static const struct packetbuf_attrlist attributes[] = static const struct packetbuf_attrlist attributes[] =
{ {