Merge "Increase min delay of default gyro sensor" am: ab636a46ec am: 979205f58e am: c38dd4240b

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5210d9c23c7ad8beef08f62fc53064143c58b0d
This commit is contained in:
Hsin-Yi Chen 2021-02-03 03:30:19 +00:00 committed by Automerger Merge Worker
commit f305817b53

View file

@ -313,7 +313,7 @@ GyroSensor::GyroSensor(int32_t sensorHandle, ISensorsEventCallback* callback) :
mSensorInfo.maxRange = 1000.0f * M_PI / 180.0f;
mSensorInfo.resolution = 1000.0f * M_PI / (180.0f * 32768.0f);
mSensorInfo.power = 0.001f;
mSensorInfo.minDelay = 2.5f * 1000; // microseconds
mSensorInfo.minDelay = 10 * 1000; // microseconds
mSensorInfo.maxDelay = kDefaultMaxDelayUs;
mSensorInfo.fifoReservedEventCount = 0;
mSensorInfo.fifoMaxEventCount = 0;