mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08: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 <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
1174124c45
commit
9e8e228f2b
@ -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 New Issue
Block a user