diff options
author | sbrissen <sbrissen@hotmail.com> | 2014-02-25 14:34:07 -0500 |
---|---|---|
committer | tilaksidduram <tilaksidduram@gmail.com> | 2014-06-05 10:08:19 +0530 |
commit | cd5145640187472147f77a2e9be8e7055097b581 (patch) | |
tree | 68114a70c3cb53652dc0169441f4bd18658c3a26 /libsensors/SensorBase.h | |
parent | 562847a690e18c40459713eb9b0c0b9bcebb900d (diff) | |
download | device_samsung_n7100-cd5145640187472147f77a2e9be8e7055097b581.zip device_samsung_n7100-cd5145640187472147f77a2e9be8e7055097b581.tar.gz device_samsung_n7100-cd5145640187472147f77a2e9be8e7055097b581.tar.bz2 |
n7100: fix up sensors
-dibable all sensors when screen is off.
port from t0: http://review.cyanogenmod.org/#/c/60292/
Change-Id: I66566f5a17acdc7c6dda84eef81af928567cfa37
Conflicts:
libsensors/sensors.h
Diffstat (limited to 'libsensors/SensorBase.h')
-rw-r--r-- | libsensors/SensorBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsensors/SensorBase.h b/libsensors/SensorBase.h index d9e4b47..aeac510 100644 --- a/libsensors/SensorBase.h +++ b/libsensors/SensorBase.h @@ -61,6 +61,7 @@ public: virtual int setDelay(int32_t handle, int64_t ns); virtual int enable(int32_t handle, int enabled) = 0; int sspEnable(const char* sensorname, int sensorvalue, int en); + int sspWrite(int sensorvalue); virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout); virtual int flush(int handle); |