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
commit12061e9a6a3ef4dfd9683369565da632fe3c6776 (patch)
treea19b0ed09d8910296c69ea6d6622f807b0aeed2c /libsensors
parentab7683561f96bac58dbe8160f4c7aa2ee62effeb (diff)
downloaddevice_samsung_tuna-12061e9a6a3ef4dfd9683369565da632fe3c6776.zip
device_samsung_tuna-12061e9a6a3ef4dfd9683369565da632fe3c6776.tar.gz
device_samsung_tuna-12061e9a6a3ef4dfd9683369565da632fe3c6776.tar.bz2
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);
}