You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by gi...@git.apache.org on 2017/06/09 13:24:02 UTC
[GitHub] pctj101 opened a new pull request #324: Ensure Redbear Blend2/Nano2 have i2c headers
pctj101 opened a new pull request #324: Ensure Redbear Blend2/Nano2 have i2c headers
URL: https://github.com/apache/incubator-mynewt-core/pull/324
This code at the end of the rb-* files requires the hal_i2c.h headers.
```
#if MYNEWT_VAL(I2C_0)
rc = hal_i2c_init(0, (void *)&hal_i2c_cfg);
assert(rc == 0);
#endif
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services