diff options
author | Simon Wilson <simonwilson@google.com> | 2010-10-17 18:53:11 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2010-10-17 18:53:11 -0700 |
commit | c282639e63b733a181a27128cf761e08d515c92a (patch) | |
tree | f40e9ef31eda20fe1c64e477418847755973bf3f /libsensors/LightSensor.h | |
parent | 04cdb18b02e0275b4c369b254224afdcbef7920d (diff) | |
download | device_samsung_crespo-c282639e63b733a181a27128cf761e08d515c92a.zip device_samsung_crespo-c282639e63b733a181a27128cf761e08d515c92a.tar.gz device_samsung_crespo-c282639e63b733a181a27128cf761e08d515c92a.tar.bz2 |
libsensor: suppress light levels that don't change
Change-Id: I75f3d0baeae13ff6f10947252b173a062a66d74a
Diffstat (limited to 'libsensors/LightSensor.h')
-rw-r--r-- | libsensors/LightSensor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsensors/LightSensor.h b/libsensors/LightSensor.h index 42158e4..78e781a 100644 --- a/libsensors/LightSensor.h +++ b/libsensors/LightSensor.h @@ -39,6 +39,7 @@ class LightSensor : public SensorBase { int input_sysfs_path_len; int setInitialState(); + float mPreviousLight; float indexToValue(size_t index) const; public: |