Made the number of phase neighbors configurable
This commit is contained in:
parent
81e098d2da
commit
d6508cf3c0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue