Increased the forwarding queue to six packets to improve collection robustness

This commit is contained in:
adamdunkels 2010-02-02 21:44:05 +00:00
parent 97b7a9a209
commit f66cd6d44e

View File

@ -36,7 +36,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: collect.c,v 1.29 2009/11/08 19:40:17 adamdunkels Exp $
* $Id: collect.c,v 1.30 2010/02/02 21:44:05 adamdunkels Exp $
*/
/**
@ -81,7 +81,7 @@ static struct recent_packet recent_packets[NUM_RECENT_PACKETS];
static uint8_t recent_packet_ptr;
#define FORWARD_PACKET_LIFETIME (CLOCK_SECOND * 16)
#define MAX_FORWARDING_QUEUE 4
#define MAX_FORWARDING_QUEUE 6
PACKETQUEUE(forwarding_queue, MAX_FORWARDING_QUEUE);
#define SINK 0