From 4eebe9afd919330276aad0a45a447642d78a06cf Mon Sep 17 00:00:00 2001 From: nifi Date: Mon, 19 Jan 2009 13:24:42 +0000 Subject: [PATCH] Updated to match new mesh API. Thanks to Carlo Alberto Boano for fixing. --- examples/rime/example-mesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rime/example-mesh.c b/examples/rime/example-mesh.c index 54271959d..5fdf0cb81 100644 --- a/examples/rime/example-mesh.c +++ b/examples/rime/example-mesh.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-mesh.c,v 1.2 2008/12/01 15:19:11 adamdunkels Exp $ + * $Id: example-mesh.c,v 1.3 2009/01/19 13:24:42 nifi Exp $ */ /** @@ -64,7 +64,7 @@ timedout(struct mesh_conn *c) printf("packet timedout\n"); } static void -recv(struct mesh_conn *c, rimeaddr_t *from) +recv(struct mesh_conn *c, rimeaddr_t *from, uint8_t hops) { printf("Data received from %d.%d: %.*s (%d)\n", from->u8[0], from->u8[1],