OSDN Git Service

libsensors: Fix accel and gyro min delay
authorArchana Patni <archana.patni@linux.intel.com>
Thu, 20 Feb 2014 06:35:57 +0000 (12:05 +0530)
committerLilja, Ola <ola.lilja@intel.com>
Thu, 27 Feb 2014 11:45:37 +0000 (03:45 -0800)
commit9a84f8592c6451cc51d5e61519169283926e5b3b
treeeb679c6aed5f754fb925a1b5adab4a64f992cd39
parenta7019b7ae4362a1771fa773791943cb4e746bbd8
libsensors: Fix accel and gyro min delay

An earlier commit "https://aia-review.intel.com/#/c/4829/"
set the min delay to 100000 which limited the polling
frequency for gyro and accel (from 100+Hz to ~10Hz).
Setting it to 10000 fixes the issues and handles the
original problem as well (too many events).

Issue: APDEV-1510
Issue: APDEV-1513

Change-Id: I66bb2749cec368bdd203dd92e0760ed6fce2dbc5
Signed-off-by: Archana Patni<archana.patni@intel.com>
Reviewed-on: https://android.intel.com/165258
Reviewed-by: Sesha, Subramony <subramony.sesha@intel.com>
Reviewed-by: Lilja, Ola <ola.lilja@intel.com>
HidSensor_Accel3D.cpp
HidSensor_Gyro3D.cpp