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

Commit ec805591 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "buffer-data: change default buffer time to 40 sec"

parents f91fb97c 67089e75
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];