From 8ecdb07dcf1dae46dd79c817ba879f374787718c Mon Sep 17 00:00:00 2001 From: nifi Date: Mon, 29 Mar 2010 09:33:20 +0000 Subject: [PATCH] Updated to new collect router API --- examples/sky/sky-collect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sky/sky-collect.c b/examples/sky/sky-collect.c index df6f6d71e..457e2feaa 100644 --- a/examples/sky/sky-collect.c +++ b/examples/sky/sky-collect.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: sky-collect.c,v 1.11 2010/03/23 23:04:21 nifi Exp $ + * $Id: sky-collect.c,v 1.12 2010/03/29 09:33:20 nifi Exp $ */ /** @@ -199,7 +199,7 @@ PROCESS_THREAD(test_collect_process, ev, data) SENSORS_ACTIVATE(button_sensor); - collect_open(&tc, 128, &callbacks); + collect_open(&tc, 128, COLLECT_ROUTER, &callbacks); while(1) { static struct etimer et;