You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/01/02 10:47:33 UTC
[GitHub] rymanluk commented on a change in pull request #699: Sensors/BMA2XX - New PR based on PR #697 changes
rymanluk commented on a change in pull request #699: Sensors/BMA2XX - New PR based on PR #697 changes
URL: https://github.com/apache/mynewt-core/pull/699#discussion_r159192872
##########
File path: hw/sensor/creator/src/sensor_creator.c
##########
@@ -184,10 +192,37 @@ static struct sensor_itf i2c_0_itf_lis = {
.si_num = 0,
.si_addr = 0x18,
.si_ints = {
- { MYNEWT_VAL(BMA253_INT_PIN_HOST), MYNEWT_VAL(BMA253_INT_PIN_DEVICE),
- MYNEWT_VAL(BMA253_INT_CFG_ACTIVE)},
- { MYNEWT_VAL(BMA253_INT2_PIN_HOST), MYNEWT_VAL(BMA253_INT2_PIN_DEVICE),
- MYNEWT_VAL(BMA253_INT_CFG_ACTIVE)}
+ { 26, MYNEWT_VAL(BMA2XX_INT_PIN_DEVICE),
Review comment:
We should allow to configure host pins as it was before (here and for BMA2XXX)
----------------------------------------------------------------
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