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

benpicco notifications at github.com
Tue May 11 14:15:22 CEST 2021


@benpicco commented on this pull request.



> @@ -198,6 +203,9 @@ static gnrc_pktsnip_t *_recv(gnrc_netif_t *netif)
 #endif
             hdr->lqi = rx_info.lqi;
             hdr->rssi = rx_info.rssi;
+            if (rx_info.flags & NETDEV_RX_IEEE802154_INFO_FLAG_TIMESTAMP) {
+                gnrc_netif_hdr_set_timestamp(hdr, rx_info.timestamp);

Doesn't this also need

```C
#if IS_USED(MODULE_GNRC_NETIF_TIMESTAMP)
````

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16365#pullrequestreview-656629726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210511/51646ca0/attachment.htm>


More information about the notifications mailing list