From 2c26364fd7c3e592bbbbfa9af8d30344458193f1 Mon Sep 17 00:00:00 2001 From: atinm Date: Wed, 18 May 2011 05:50:00 -0400 Subject: Set max lux to 10240 as returned by LightSensor.cpp Change-Id: I448e8acd2774a5a97c18aba8fe43595b1b781597 --- libsensors/sensors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp index 2358a2e..23a1e34 100644 --- a/libsensors/sensors.cpp +++ b/libsensors/sensors.cpp @@ -81,11 +81,11 @@ static const struct sensor_t sSensorList[] = { { "CM Hacked Orientation Sensor", "CM Team", 1, SENSORS_ORIENTATION_HANDLE, - SENSOR_TYPE_ORIENTATION, 360.0f, CONVERT_O, 7.8f, 30000, { } }, + SENSOR_TYPE_ORIENTATION, 360.0f, CONVERT_O, 7.8f, 30000, { } }, { "GP2A Light sensor", "Sharp", 1, SENSORS_LIGHT_HANDLE, - SENSOR_TYPE_LIGHT, 3000.0f, 1.0f, 0.75f, 0, { } }, + SENSOR_TYPE_LIGHT, 10240.0f, 1.0f, 0.75f, 0, { } }, { "GP2A Proximity sensor", "Sharp", 1, SENSORS_PROXIMITY_HANDLE, -- cgit v1.1