mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Made retransmission timeout configurable
This commit is contained in:
parent
b728c0927c
commit
9e5823f060
@ -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[] =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user