Made the number of phase neighbors configurable

This commit is contained in:
Adam Dunkels 2011-08-31 20:54:21 +02:00
parent 81e098d2da
commit d6508cf3c0

View file

@ -232,6 +232,10 @@ static struct compower_activity current_packet;
#include "net/mac/phase.h"
#ifdef CONTIKIMAC_CONF_MAX_PHASE_NEIGHBORS
#define MAX_PHASE_NEIGHBORS CONTIKIMAC_CONF_MAX_PHASE_NEIGHBORS
#endif
#ifndef MAX_PHASE_NEIGHBORS
#define MAX_PHASE_NEIGHBORS 30
#endif