Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e06e1692 authored by Raghava Chowdam's avatar Raghava Chowdam Committed by Gerrit - the friendly Code Review server
Browse files

driver: input: sensors: Increase the smi130 accel buffer samples size



Increased number of SMI130 accel buffer sample size to 5000 so that
bufferting can happened till 40th second of boot time considering odr
rate 125 HZ.

Change-Id: I1088a9aff0ce79de38022b73171ef2cd2280604f
Signed-off-by: default avatarRaghava Chowdam <rchowdam@codeaurora.org>
parent c8980a40
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1529,7 +1529,7 @@ struct bosch_sensor_data {
};
};


#ifdef CONFIG_ENABLE_SMI_ACC_GYRO_BUFFERING
#ifdef CONFIG_ENABLE_SMI_ACC_GYRO_BUFFERING
#define SMI_ACC_MAXSAMPLE        4000
#define SMI_ACC_MAXSAMPLE        5000
#define G_MAX                    23920640
#define G_MAX                    23920640
struct smi_acc_sample {
struct smi_acc_sample {
	int xyz[3];
	int xyz[3];