[riot-notifications] [RIOT-OS/RIOT] stm32 eth peripheral driver (#10633)

Alexandre Abadie notifications at github.com
Mon Jul 1 09:05:47 CEST 2019


aabadie commented on this pull request.



> +}
+
+static const netdev_driver_t netdev_driver_stm32f4eth = {
+    .send = _send,
+    .recv = _recv,
+    .init = _init,
+    .isr = _isr,
+    .get = _get,
+    .set = _set,
+};
+
+void stm32_eth_netdev_setup(netdev_t *netdev)
+{
+    _netdev = netdev;
+    netdev->driver = &netdev_driver_stm32f4eth;
+}

nit: missing new line here.

-- 
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/10633#pullrequestreview-256161882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190701/90f75ebc/attachment.html>


More information about the notifications mailing list