[riot-notifications] [RIOT-OS/RIOT] drivers: adcxx1c, ads101x: undef I2C before redefining it (#10958)
notifications at github.com
Wed Feb 6 11:46:37 CET 2019
### Contribution description
I2C is used by cc26x0 periph_conf.h, leading to [name clash](https://gist.github.com/85695ed116855cc137ba7fedf8bea9c5).
This PR fixes the name clash by undefining the clashing macro before defining it.
I'm not sure what's the best solution here...
### Testing procedure
Successful compilation should be fine, maybe run test.
### Issues/PRs references
Clash found in #10955.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* drivers: adcxx1c, ads101x: undef I2C before redefining it
-- File Changes --
M drivers/adcxx1c/adcxx1c.c (1)
M drivers/ads101x/ads101x.c (1)
-- 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...
More information about the notifications