summaryrefslogtreecommitdiffstats
path: root/libsensors/SamsungSensorBase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SensorHAL: solve the issue that sensors get slowWon Hyoung Lee2011-10-191-7/+6
| | | | | | | | | | | | Solving the bug where residual events in input queue from one sensor that was disabled causes events from other sensors to not be returned until num events = count. The bug has the symptom that events from all sensors seem to be delayed. The bug was in readEvents() in SamsungSensorBase.cpp. Solution is to discard the residual events if sensor has been disabled already. Change-Id: I8c9e1ff741c8f2864d6bc7513c1163c41a178852 Signed-off-by: Won Hyoung Lee <whlee@sta.samsung.com>
* tuna: sensors: add light, proximity, pressure sensorsMarty Fouts2011-06-291-0/+179
NOTE: - light sensor ADC values need to be calibrated. Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>