tests/ieee802154_submac: use byteorder_ltohs()
This commit is contained in:
parent
2ddfc46234
commit
7358ae9c2e
@ -115,10 +115,10 @@ void recv(netdev_t *dev)
|
||||
break;
|
||||
}
|
||||
printf("Dest. PAN: 0x%04x, Dest. addr.: ",
|
||||
byteorder_ntohs(byteorder_ltobs(dst_pan)));
|
||||
byteorder_ltohs(dst_pan));
|
||||
_print_addr(dst, dst_len);
|
||||
printf("\nSrc. PAN: 0x%04x, Src. addr.: ",
|
||||
byteorder_ntohs(byteorder_ltobs(src_pan)));
|
||||
byteorder_ltohs(src_pan));
|
||||
_print_addr(src, src_len);
|
||||
printf("\nSecurity: ");
|
||||
if (buffer[0] & IEEE802154_FCF_SECURITY_EN) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user