From 37def1315343f2f8b5a7b8bd5a559e7d5be9dfd0 Mon Sep 17 00:00:00 2001 From: Yonezawa-T2 Date: Mon, 4 Apr 2016 10:08:54 +0900 Subject: [PATCH] SQUASH ME xbee: fixed comment style for "fixed RSSI header parsing" --- drivers/xbee/xbee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xbee/xbee.c b/drivers/xbee/xbee.c index 1b28ddd346601..7e75592f77b03 100644 --- a/drivers/xbee/xbee.c +++ b/drivers/xbee/xbee.c @@ -795,7 +795,7 @@ static void _isr_event(gnrc_netdev_t *netdev, uint32_t event_type) hdr->src_l2addr_len = (uint8_t)addr_len; hdr->dst_l2addr_len = (uint8_t)addr_len; hdr->if_pid = dev->mac_pid; - hdr->rssi = dev->rx_buf[1 + addr_len]; // API ID + source address + hdr->rssi = dev->rx_buf[1 + addr_len]; /* API ID + source address */ hdr->lqi = 0; gnrc_netif_hdr_set_src_addr(hdr, &(dev->rx_buf[1]), addr_len); if (addr_len == 2) { @@ -822,7 +822,7 @@ static void _isr_event(gnrc_netdev_t *netdev, uint32_t event_type) } DEBUG(", RSSI: -%d dBm", hdr->rssi); - DEBUG(", options: %02x", (uint8_t) dev->rx_buf[1 + addr_len + 1]); // API ID + source address + RSSI + DEBUG(", options: %02x", (uint8_t) dev->rx_buf[1 + addr_len + 1]); /* API ID + source address + RSSI */ DEBUG(", payload:"); for (size_t i = 0; i < pkt->size; i++) {