BMI160_SensorAPI
BMI160_SensorAPI copied to clipboard
Bosch Sensortec BMI160 sensor driver. To report issues, go to https://community.bosch-sensortec.com/t5/Bosch-Sensortec-Community/ct-p/bst_community
Please amend static int8_t process_accel_bw(uint8_t *data, const struct bmi160_dev *dev) API bug,thanks.
System-wide endian.h already defines both LITTLE_ENDIAN and BIG_ENDIAN as part of BSD compatibility. Before this fix, since little endianess is always tested first, it is likely to be always selected...
This simple commit fixes a bad mask applied when setting any-motion interrupt duration.
Was stuck for a while during development for the BMI160 sensor due to using the `BMI160_INT_CHANNEL_BOTH` define which can be found in: https://github.com/BoschSensortec/BMI160_driver/blob/44f0df94d6b000a821afd7ed31c432bc677cd723/bmi160_defs.h#L1004 The define is there, however when configuring...