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

Commit 67089e75 authored by Naresh Munagala's avatar Naresh Munagala Committed by puneet
Browse files

buffer-data: change default buffer time to 40 sec



The ealry 20 sec is not enough to debug so increased buffer sample
time to till 40th second

CRs-Fixed: 2073555
Change-Id: Iaf442ed455979344742d6f660336ec2eb1e6e17c
Signed-off-by: default avatarNaresh Munagala <nareshm@qti.qualcomm.com>
parent bfd96c27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ static int bmi160_acc_gyro_early_buff_init(void)
	client_data->acc_bufsample_cnt = 0;
	client_data->gyro_bufsample_cnt = 0;
	client_data->report_evt_cnt = 5;
	client_data->max_buffer_time = 20;
	client_data->max_buffer_time = 40;

	client_data->bmi_acc_cachepool = kmem_cache_create("acc_sensor_sample",
			sizeof(struct bmi_acc_sample),
+2 −2
Original line number Diff line number Diff line
@@ -293,8 +293,8 @@ struct pedometer_data_t {
};

#ifdef CONFIG_ENABLE_ACC_GYRO_BUFFERING
#define BMI_ACC_MAXSAMPLE        2000
#define BMI_GYRO_MAXSAMPLE       2000
#define BMI_ACC_MAXSAMPLE        4000
#define BMI_GYRO_MAXSAMPLE       4000
#define G_MAX                    23920640
struct bmi_acc_sample {
	int xyz[3];