mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
iio: accel: bmc150: set low default thresholds
Set the threshold to low by default. With this thresholds any movement on the device with this sensor will generate event. Signed-off-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
1174124c45
commit
9e8e228f2b
1 changed files with 2 additions and 2 deletions
|
|
@ -95,9 +95,9 @@
|
|||
#define BMC150_ACCEL_SLOPE_THRES_MASK 0xFF
|
||||
|
||||
/* Slope duration in terms of number of samples */
|
||||
#define BMC150_ACCEL_DEF_SLOPE_DURATION 2
|
||||
#define BMC150_ACCEL_DEF_SLOPE_DURATION 1
|
||||
/* in terms of multiples of g's/LSB, based on range */
|
||||
#define BMC150_ACCEL_DEF_SLOPE_THRESHOLD 5
|
||||
#define BMC150_ACCEL_DEF_SLOPE_THRESHOLD 1
|
||||
|
||||
#define BMC150_ACCEL_REG_XOUT_L 0x02
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue