[riot-notifications] [RIOT-OS/RIOT] saul/gpio: Low footprint handling of active-low signals + state initialization (#7586)

Gaƫtan Harter notifications at github.com
Fri Sep 8 19:15:07 CEST 2017


Setting `dev` to `saul_reg_t` should not be a problem because both `saul_read_t` and `saul_write_t` don't modify dev: `const void *dev`, and so subfunctions should not modify it too.

With `dev` being set to a pointer to const, `saul_adcs` pointer array can also be removed to save space.

-- 
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/7586#issuecomment-328162598
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170908/6902159f/attachment.html>


More information about the notifications mailing list