Skip to content

Commit

Permalink
[core/net/mac] Removed invalid struct member u8 in PRINTADDR
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Joerns committed Oct 14, 2013
1 parent 6dd9f2c commit 4ba2210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/net/mac/framer-802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ create(void)
frame802154_create(&params, 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;
Expand Down
2 changes: 1 addition & 1 deletion core/net/mac/sicslowmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ send_packet(mac_callback_t sent, void *ptr)
frame802154_create(&params, 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());
Expand Down

0 comments on commit 4ba2210

Please sign in to comment.