[riot-notifications] [RIOT-OS/RIOT] drivers/ds18: refactor functions with const dev pointer (#10709)
notifications at github.com
Wed Jan 9 10:39:25 CET 2019
> The commit also follows the preferred convention that "params" is a field
in the device struct. Only the init function needs to write it.
Just a note - copying params into dev during init saves a derefencing step during runtime. I.e. it's a small optimization
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