From 37993d254d2f4916388a4e438f89bc64ee93e2bf Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 22 May 2007 21:15:17 +0000 Subject: [PATCH] Increased default neighbor lifetime, removed debug output --- core/net/rime/neighbor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/net/rime/neighbor.c b/core/net/rime/neighbor.c index 69eda1a76..e57b25d47 100644 --- a/core/net/rime/neighbor.c +++ b/core/net/rime/neighbor.c @@ -33,7 +33,7 @@ * * This file is part of the Contiki operating system. * - * $Id: neighbor.c,v 1.8 2007/03/31 18:31:28 adamdunkels Exp $ + * $Id: neighbor.c,v 1.9 2007/05/22 21:15:17 adamdunkels Exp $ */ /** @@ -58,7 +58,7 @@ static struct neighbor neighbors[MAX_NEIGHBORS]; static struct ctimer t; -static int max_time = 20; +static int max_time = 30; /*---------------------------------------------------------------------------*/ static void periodic(void *ptr) @@ -76,7 +76,7 @@ periodic(void *ptr) } } } - printf("neighbor periodic\n"); + /* printf("neighbor periodic\n");*/ ctimer_set(&t, CLOCK_SECOND, periodic, NULL); } /*---------------------------------------------------------------------------*/