[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf215: add function to signal setup finished (#16921)

José Alamos notifications at github.com
Thu Sep 30 16:11:06 CEST 2021


> I'm not so excited about replacing a generic function with a driver specific one.
Maybe netdev_register() could call the callback instead?

I think on one side this is actually a use case where a dedicated function can be desirable.

For the use case of this test (clock configuration and trimming) you will need to call driver specific code and therefore, include driver headers. Then, a generic function wouldn't help because the driver specific function could have been call in the beginning.

On the other side, calling it from `netdev_register` makes it easier to maintain because there's only one point.

How do you think it should be handled?

-- 
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/16921#issuecomment-931359390
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210930/f8d4a00f/attachment-0001.htm>


More information about the notifications mailing list