summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Kirpichyov <pavel.kirpichyov@gmail.com>2013-11-13 10:53:32 +0400
committerPavel Kirpichyov <pavel.kirpichyov@gmail.com>2013-11-13 10:53:32 +0400
commit9aa6b3653f288bc40a4279f8522d9320adc3337f (patch)
treef3be8801af807f3fc8a5599c8ad7b4c59d1ab963
parent4de212f1d34b33041962bfa295c366690571ab15 (diff)
downloaddevice_samsung_i9100-9aa6b3653f288bc40a4279f8522d9320adc3337f.zip
device_samsung_i9100-9aa6b3653f288bc40a4279f8522d9320adc3337f.tar.gz
device_samsung_i9100-9aa6b3653f288bc40a4279f8522d9320adc3337f.tar.bz2
fix sensors struct
Change-Id: I12bbefc83ef2eb2bd0db78a688de2860b517ef01
-rw-r--r--libsensors/sensors.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp
index c048a14..d57f65a 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, { } },
+ 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, { } },
+ 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, { } },
+ 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, { } },
+ 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, { } },
+ 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, { } },
+ SENSOR_TYPE_GYROSCOPE, RANGE_GYRO, CONVERT_GYRO, 6.1f, 1190, 0, 0, { } },
};