summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-10-10 14:26:35 -0700
committerMathias Agopian <mathias@google.com>2011-10-10 14:26:35 -0700
commit65304f523d89760d168e886b694eeb4769d30635 (patch)
tree9ff0e814b31dcadacec19698385fa52e4d08fb24 /libsensors
parent6c375a2d684ae088095d744153ce35675aa87ead (diff)
downloaddevice_samsung_tuna-65304f523d89760d168e886b694eeb4769d30635.tar.gz
device_samsung_tuna-65304f523d89760d168e886b694eeb4769d30635.tar.bz2
device_samsung_tuna-65304f523d89760d168e886b694eeb4769d30635.zip
silence sensor HAL
Change-Id: I2a2382a73ff6615cc1148ec838fa188964a9d1d4
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/sensors.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp
index 4002006..450dbd5 100644
--- a/libsensors/sensors.cpp
+++ b/libsensors/sensors.cpp
@@ -16,7 +16,8 @@
#define LOG_NDEBUG 0
#define LOG_TAG "Sensors"
-#define FUNC_LOG LOGV("%s", __PRETTY_FUNCTION__)
+//#define FUNC_LOG LOGV("%s", __PRETTY_FUNCTION__)
+#define FUNC_LOG
#include <hardware/sensors.h>
#include <fcntl.h>
@@ -355,7 +356,7 @@ static int poll__setDelay(struct sensors_poll_device_t *dev,
static int poll__poll(struct sensors_poll_device_t *dev,
sensors_event_t* data, int count)
{
- //FUNC_LOG;
+ FUNC_LOG;
sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev;
return ctx->pollEvents(data, count);
}