From c0ce2efd89b92e77b73e3d0cd5318eda454cbd85 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 1 Dec 2008 15:19:11 +0000 Subject: [PATCH] Removed the rimeaddr ->u16 field --- examples/rime/example-mesh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/rime/example-mesh.c b/examples/rime/example-mesh.c index 64a070384..54271959d 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.1 2008/01/25 18:00:50 adamdunkels Exp $ + * $Id: example-mesh.c,v 1.2 2008/12/01 15:19:11 adamdunkels Exp $ */ /** @@ -66,7 +66,8 @@ timedout(struct mesh_conn *c) static void recv(struct mesh_conn *c, rimeaddr_t *from) { - printf("Data received from %d: %.*s (%d)\n", from->u16[0], + printf("Data received from %d.%d: %.*s (%d)\n", + from->u8[0], from->u8[1], rimebuf_datalen(), (char *)rimebuf_dataptr(), rimebuf_datalen()); rimebuf_copyfrom("Hopp", 4);