diff options
author | Arve Hjønnevåg <arve@android.com> | 2011-11-02 20:52:21 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-02 20:52:21 +0000 |
commit | a1254e87cd6fcc2cb3b95d986fab531fc6529a82 (patch) | |
tree | 172f96d6d01ee4dc1bfdcff7a5cdc105977bb99b /libsensors/sensors.cpp | |
parent | 8a4f000bd546c256161efb03247b94629112a7b8 (diff) | |
parent | 8fcc12c67ec3f3eac78c1d275a007c374ffbc036 (diff) | |
download | device_samsung_tuna-a1254e87cd6fcc2cb3b95d986fab531fc6529a82.zip device_samsung_tuna-a1254e87cd6fcc2cb3b95d986fab531fc6529a82.tar.gz device_samsung_tuna-a1254e87cd6fcc2cb3b95d986fab531fc6529a82.tar.bz2 |
am 63bb261a: Merge "sensors: Return a calculated lux value instead using the current 8 entry table" into ics-mr1
* commit '8fcc12c67ec3f3eac78c1d275a007c374ffbc036':
sensors: Return a calculated lux value instead using the current 8 entry table
Diffstat (limited to 'libsensors/sensors.cpp')
-rw-r--r-- | libsensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp index 96f128d..fb159d9 100644 --- a/libsensors/sensors.cpp +++ b/libsensors/sensors.cpp @@ -80,7 +80,7 @@ static struct sensor_t sSensorList[LOCAL_SENSORS + MPLSensor::numSensors] = { { "GP2A Light sensor", "Sharp", 1, SENSORS_LIGHT_HANDLE, - SENSOR_TYPE_LIGHT, 3000.0f, 1.0f, 0.75f, 0, { } }, + SENSOR_TYPE_LIGHT, powf(10, 125.0f/ 24.0f) * 4, 1.0f, 0.75f, 0, { } }, { "GP2A Proximity sensor", "Sharp", 1, SENSORS_PROXIMITY_HANDLE, |