[riot-notifications] [RIOT-OS/RIOT] tree-wide: avoid explicit cast to netdev (#16577)
notifications at github.com
Thu Jul 8 15:04:34 CEST 2021
@benpicco commented on this pull request.
> + *
+ * @return pointer to the netdev descriptor. NULL if there's none.
+static inline cc2538_rf_t *netdev_to_cc2538_rf(netdev_t *netdev)
+ /* Ugly... but at least type safe */
+ return container_of(container_of(container_of(netdev,
should we just drop the legacy driver?
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...
More information about the notifications