[riot-notifications] [RIOT-OS/RIOT] i2c_read_regs / i2c_write_regs and endianess (#11544)

Federico Pellegrin notifications at github.com
Wed May 22 07:38:01 CEST 2019


@keestux : sorry for the addr/reg confusion, was writing the comment in a hurry :)

I've now done a proposal in line with @dylad suggestion which is also much cleaner. So added a flag `I2C_REG16_LE` which works for LE 16-bit registers and made sure the original `I2C_REG16` gets converted to BE. 

Here is the diff:
https://github.com/RIOT-OS/RIOT/compare/master...fedepell:i2c_reg_endianess_2?diff=split&expand=1 

Hope looks in better shape now!

Thanks!
F.

-- 
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/issues/11544#issuecomment-494659322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190521/bee1d4ee/attachment.html>


More information about the notifications mailing list