From 6ae86d001d00384194b4fe47925731c0b6946bf4 Mon Sep 17 00:00:00 2001 From: joxe Date: Thu, 1 Apr 2010 17:17:36 +0000 Subject: [PATCH] made number of phase neighbors configurable --- core/net/mac/contikimac.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/net/mac/contikimac.c b/core/net/mac/contikimac.c index 543d38591..47dd8d07b 100644 --- a/core/net/mac/contikimac.c +++ b/core/net/mac/contikimac.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: contikimac.c,v 1.22 2010/04/01 10:02:04 adamdunkels Exp $ + * $Id: contikimac.c,v 1.23 2010/04/01 17:17:36 joxe Exp $ */ /** @@ -173,7 +173,9 @@ static struct compower_activity current_packet; #include "net/mac/phase.h" +#ifndef MAX_PHASE_NEIGHBORS #define MAX_PHASE_NEIGHBORS 30 +#endif PHASE_LIST(phase_list, MAX_PHASE_NEIGHBORS);