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

benpicco notifications at github.com
Thu Jan 7 21:15:29 CET 2021

@benpicco commented on this pull request.

> @@ -623,6 +624,11 @@ static int stm32_eth_recv(netdev_t *netdev, void *buf, size_t max_len,
         memcpy(data, rx_curr->buffer_addr, chunk);
         data += chunk;
         remain -= chunk;
+        if (IS_USED(MODULE_PERIPH_PTP) && !remain) {

Why not move this after the loop?

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/20210107/f4e51d16/attachment.htm>

More information about the notifications mailing list