Sensors: MultiHal: Increase xfer buffer size
Increased the size of the sensor event transfer queue from 20 to 36 sensor events. This size now matches Sensor Services buffer size that it passes to poll() for reading events and will allow the multihal to transfer the maximum events possible per poll cycle. Change-Id: I55459ea0a70b9da848d3d3d43590050d71c53e28
This commit is contained in:
parent
8b48359616
commit
98d5e946ba
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ static int get_global_handle(FullHandle* full_handle) {
|
|||
return global_handle;
|
||||
}
|
||||
|
||||
static const int SENSOR_EVENT_QUEUE_CAPACITY = 20;
|
||||
static const int SENSOR_EVENT_QUEUE_CAPACITY = 36;
|
||||
|
||||
struct TaskContext {
|
||||
sensors_poll_device_t* device;
|
||||
|
|
Loading…
Reference in a new issue