mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
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 New Issue
Block a user