[riot-notifications] [RIOT-OS/RIOT] drivers/ads101x: eliminate const to non-const pointer cast (#10714)

Kees Bakker notifications at github.com
Sun Jan 6 18:04:06 CET 2019

A helper variable is introduced to make it clear how the void pointer
argument is intended to be used. After that the other casts are not
needed anymore.

This is not yet tested, but I have good hopes that no code will break because of this change.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * drivers/ads101x: eliminate const to non-const pointer cast

-- File Changes --

    M drivers/ads101x/ads101x_saul.c (9)

-- Patch Links --


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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190106/9678a99f/attachment.html>

More information about the notifications mailing list