[riot-notifications] [RIOT-OS/RIOT] tree-wide: avoid explicit cast to netdev (#16577)
notifications at github.com
Thu Jul 8 15:20:57 CEST 2021
@jia200x 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,
That would simplify quite a lot all things. I will do that.
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