OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libsensors: retry more and deal with sensor hub quirk
[android-x86/hardware-intel-libsensors.git]
/
common
/
libsensors
/
HidSensor_ALS.cpp
diff --git
a/common/libsensors/HidSensor_ALS.cpp
b/common/libsensors/HidSensor_ALS.cpp
index
8c6160f
..
dd1f47d
100644
(file)
--- a/
common/libsensors/HidSensor_ALS.cpp
+++ b/
common/libsensors/HidSensor_ALS.cpp
@@
-36,7
+36,7
@@
const struct sensor_t ALSSensor::sSensorInfo_als = {
50000.0f, 1.0f, 0.75f, 0, {}
,
};
-const int retry_cnt =
5
;
+const int retry_cnt =
10
;
ALSSensor::ALSSensor(): SensorIIODev("als", "in_intensity_scale", "in_intensity_offset", "in_intensity_", retry_cnt){
ALOGV(">>ALSSensor 3D: constructor!");