From 0ab57730f847b6da825dd3b5cd92cbf29a65c114 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 1 Dec 2008 13:20:51 +0000 Subject: [PATCH] removed reference to the removed u16 rime address field --- platform/cooja/init-net-rime.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platform/cooja/init-net-rime.c b/platform/cooja/init-net-rime.c index 7c23133ac..1b5d14cf1 100644 --- a/platform/cooja/init-net-rime.c +++ b/platform/cooja/init-net-rime.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: init-net-rime.c,v 1.5 2007/12/13 16:11:22 fros4943 Exp $ + * @(#)$Id: init-net-rime.c,v 1.6 2008/12/01 13:20:51 fros4943 Exp $ */ #include "contiki.h" @@ -48,8 +48,7 @@ init_net(void) nullmac_init(&cooja_driver); rime_init(&nullmac_driver); - rimeaddr.u16[0] = node_id; - /* rimeaddr.u8[0] = node_id >> 8; - rimeaddr.u8[1] = node_id & 0xff; */ + rimeaddr.u8[0] = node_id & 0xff; + rimeaddr.u8[1] = node_id >> 8; rimeaddr_set_node_addr(&rimeaddr); }