From 4ba22102fd42698cf0913a380bce22c1596c6b39 Mon Sep 17 00:00:00 2001 From: Enrico Joerns Date: Tue, 15 Oct 2013 01:43:26 +0200 Subject: [PATCH] [core/net/mac] Removed invalid struct member u8 in PRINTADDR --- core/net/mac/framer-802154.c | 2 +- core/net/mac/sicslowmac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/mac/framer-802154.c b/core/net/mac/framer-802154.c index 46c633d60..7b1621918 100644 --- a/core/net/mac/framer-802154.c +++ b/core/net/mac/framer-802154.c @@ -173,7 +173,7 @@ create(void) frame802154_create(¶ms, packetbuf_hdrptr(), len); PRINTF("15.4-OUT: %2X", params.fcf.frame_type); - PRINTADDR(params.dest_addr.u8); + PRINTADDR(params.dest_addr); PRINTF("%d %u (%u)\n", len, packetbuf_datalen(), packetbuf_totlen()); return len; diff --git a/core/net/mac/sicslowmac.c b/core/net/mac/sicslowmac.c index a9a7e60f0..66fdbeab4 100644 --- a/core/net/mac/sicslowmac.c +++ b/core/net/mac/sicslowmac.c @@ -160,7 +160,7 @@ send_packet(mac_callback_t sent, void *ptr) frame802154_create(¶ms, packetbuf_hdrptr(), len); PRINTF("6MAC-UT: %2X", params.fcf.frame_type); - PRINTADDR(params.dest_addr.u8); + PRINTADDR(params.dest_addr); PRINTF("%u %u (%u)\n", len, packetbuf_datalen(), packetbuf_totlen()); ret = NETSTACK_RADIO.send(packetbuf_hdrptr(), packetbuf_totlen());