From c282639e63b733a181a27128cf761e08d515c92a Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Sun, 17 Oct 2010 18:53:11 -0700 Subject: libsensor: suppress light levels that don't change Change-Id: I75f3d0baeae13ff6f10947252b173a062a66d74a --- libsensors/LightSensor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsensors/LightSensor.h') 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: -- cgit v1.1