mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #5955 from Cherden/master
gnrc_netif_hdr: Packet dump format of if_pid, rssi and lqi
This commit is contained in:
commit
523e6975dd
@ -22,9 +22,9 @@ void gnrc_netif_hdr_print(gnrc_netif_hdr_t *hdr)
|
||||
{
|
||||
char addr_str[GNRC_NETIF_HDR_L2ADDR_PRINT_LEN];
|
||||
|
||||
printf("if_pid: %" PRIkernel_pid " ", hdr->if_pid);
|
||||
printf("rssi: %" PRIu8 " ", hdr->rssi);
|
||||
printf("lqi: %" PRIu8 "\n", hdr->lqi);
|
||||
printf("if_pid: %u ", (unsigned) hdr->if_pid);
|
||||
printf("rssi: %u ", (unsigned) hdr->rssi);
|
||||
printf("lqi: %u\n", (unsigned) hdr->lqi);
|
||||
printf("flags: ");
|
||||
|
||||
if (hdr->flags) {
|
||||
|
Loading…
Reference in New Issue
Block a user