[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf215: add RX timestamps (#16365)

benpicco notifications at github.com
Mon May 3 09:56:44 CEST 2021

@benpicco commented on this pull request.

> @@ -129,6 +129,9 @@ static gnrc_pktsnip_t *_recv(gnrc_netif_t *netif)
             gnrc_netif_hdr_t *hdr = netif_snip->data;
             hdr->lqi = rx_info.lqi;
             hdr->rssi = rx_info.rssi;
+            if (rx_info.flags & NETDEV_RX_IEEE802154_INFO_FLAG_TIMESTAMP) {

Now this needs to be wrapped inside
            if (rx_info.flags & NETDEV_RX_IEEE802154_INFO_FLAG_TIMESTAMP) {
as the struct element is not always available. 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210503/d8f561f2/attachment.htm>

More information about the notifications mailing list