mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Increase min delay of default gyro sensor" am: ab636a46ec am: 979205f58e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567261 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I100dbf307f246fb7022d41c0fac7ee0d09a67bbe
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user