summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2015-05-02 01:49:14 -0300
committerCaio Schnepper <caioschnepper@gmail.com>2015-05-02 01:49:14 -0300
commitd14fb8a41e6e1d5a45efe6aa5fa168d8f5a864f6 (patch)
tree45a0402f624c25e629fd11bb011784bb63983fdc /libsensors
parent101c55d0b91557fa7a46b611b06fb343b5321936 (diff)
downloaddevice_samsung_i9100-d14fb8a41e6e1d5a45efe6aa5fa168d8f5a864f6.zip
device_samsung_i9100-d14fb8a41e6e1d5a45efe6aa5fa168d8f5a864f6.tar.gz
device_samsung_i9100-d14fb8a41e6e1d5a45efe6aa5fa168d8f5a864f6.tar.bz2
i9100: initial L bringup
Change-Id: I23cfe3e3e4b681601074c26d090daffee6b79a11
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/LightSensor.cpp2
-rw-r--r--libsensors/ProximitySensor.cpp2
-rw-r--r--libsensors/sensors.cpp12
3 files changed, 6 insertions, 10 deletions
diff --git a/libsensors/LightSensor.cpp b/libsensors/LightSensor.cpp
index 2320053..cab4fba 100644
--- a/libsensors/LightSensor.cpp
+++ b/libsensors/LightSensor.cpp
@@ -22,8 +22,6 @@
#include <dirent.h>
#include <sys/select.h>
-#include <linux/lightsensor.h>
-
#include <cutils/log.h>
#include "LightSensor.h"
diff --git a/libsensors/ProximitySensor.cpp b/libsensors/ProximitySensor.cpp
index 5ebaabc..9614f20 100644
--- a/libsensors/ProximitySensor.cpp
+++ b/libsensors/ProximitySensor.cpp
@@ -22,8 +22,6 @@
#include <dirent.h>
#include <sys/select.h>
-#include <linux/capella_cm3602.h>
-
#include <cutils/log.h>
#include "ProximitySensor.h"
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp
index e393cd5..806d66b 100644
--- a/libsensors/sensors.cpp
+++ b/libsensors/sensors.cpp
@@ -69,27 +69,27 @@ static const struct sensor_t sSensorList[] = {
{ "KR3DM 3-axis Accelerometer",
"STMicroelectronics",
1, SENSORS_ACCELERATION_HANDLE,
- SENSOR_TYPE_ACCELEROMETER, RANGE_A, CONVERT_A, 0.23f, 20000, 0, 0, { } },
+ SENSOR_TYPE_ACCELEROMETER, RANGE_A, CONVERT_A, 0.23f, 20000, 0, 0,},
{ "AK8975 3-axis Magnetic field sensor",
"Asahi Kasei Microdevices",
1, SENSORS_MAGNETIC_FIELD_HANDLE,
- SENSOR_TYPE_MAGNETIC_FIELD, 2000.0f, CONVERT_M, 6.8f, 16667, 0, 0, { } },
+ SENSOR_TYPE_MAGNETIC_FIELD, 2000.0f, CONVERT_M, 6.8f, 16667, 0, 0,},
{ "AK8973 Orientation sensor",
"Asahi Kasei Microdevices",
1, SENSORS_ORIENTATION_HANDLE,
- SENSOR_TYPE_ORIENTATION, 360.0f, CONVERT_O, 7.8f, 16667, 0, 0, { } },
+ SENSOR_TYPE_ORIENTATION, 360.0f, CONVERT_O, 7.8f, 16667, 0, 0,},
{ "CM3663 Light sensor",
"Capella Microsystems",
1, SENSORS_LIGHT_HANDLE,
- SENSOR_TYPE_LIGHT, 10240.0f, 1.0f, 0.75f, 0, 0, 0, { } },
+ SENSOR_TYPE_LIGHT, 10240.0f, 1.0f, 0.75f, 0, 0, 0,},
{ "CM3663 Proximity sensor",
"Capella Microsystems",
1, SENSORS_PROXIMITY_HANDLE,
- SENSOR_TYPE_PROXIMITY, 5.0f, 5.0f, 0.75f, 0, 0, 0, { } },
+ SENSOR_TYPE_PROXIMITY, 5.0f, 5.0f, 0.75f, 0, 0, 0,},
{ "K3G Gyroscope sensor",
"STMicroelectronics",
1, SENSORS_GYROSCOPE_HANDLE,
- SENSOR_TYPE_GYROSCOPE, RANGE_GYRO, CONVERT_GYRO, 6.1f, 1190, 0, 0, { } },
+ SENSOR_TYPE_GYROSCOPE, RANGE_GYRO, CONVERT_GYRO, 6.1f, 1190, 0, 0,},
};