diff options
author | Christian Balster <christian.balster@gmail.com> | 2015-06-15 16:44:47 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2015-08-15 14:21:59 -0700 |
commit | f3ef9365e9c5e902cde345826a8260bba05a2676 (patch) | |
tree | a4d2e155b697026bd12e882de7226b548393fb2b /libsensors | |
parent | af6a75109ed68e89998f221ba27fe15980f01714 (diff) | |
download | device_samsung_espressowifi-f3ef9365e9c5e902cde345826a8260bba05a2676.zip device_samsung_espressowifi-f3ef9365e9c5e902cde345826a8260bba05a2676.tar.gz device_samsung_espressowifi-f3ef9365e9c5e902cde345826a8260bba05a2676.tar.bz2 |
espresso-common: libsensors: update sensors info to v1.3
Change-Id: I32afb779df63c41870979f0e27e5d6bac554dc13
Diffstat (limited to 'libsensors')
-rw-r--r-- | libsensors/piranha_sensors.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/libsensors/piranha_sensors.c b/libsensors/piranha_sensors.c index 3600196..0def2e5 100644 --- a/libsensors/piranha_sensors.c +++ b/libsensors/piranha_sensors.c @@ -36,20 +36,26 @@ struct sensor_t piranha_sensors[] = { { "BMA250 Acceleration Sensor", "Bosch", 1, SENSOR_TYPE_ACCELEROMETER, - SENSOR_TYPE_ACCELEROMETER, 2 * GRAVITY_EARTH, GRAVITY_EARTH / 256.0f, 0.13f, 10000, {}, }, + SENSOR_TYPE_ACCELEROMETER, 2 * GRAVITY_EARTH, GRAVITY_EARTH / 256.0f, 0.13f, 10000, + 0, 0, 0, 0, 0, SENSOR_FLAG_CONTINUOUS_MODE, {0}, }, { "YAS530 Magnetic Sensor", "Yamaha", 1, SENSOR_TYPE_MAGNETIC_FIELD, - SENSOR_TYPE_MAGNETIC_FIELD, 800.0f, 0.3f, 4.0f, 10000, {}, }, + SENSOR_TYPE_MAGNETIC_FIELD, 800.0f, 0.3f, 4.0f, 10000, + 0, 0, 0, 0, 0, SENSOR_FLAG_CONTINUOUS_MODE, {0}, }, { "YAS Orientation Sensor", "Yamaha", 1, SENSOR_TYPE_ORIENTATION, - SENSOR_TYPE_ORIENTATION, 360.0f, 0.1f, 0.0f, 10000, {}, }, + SENSOR_TYPE_ORIENTATION, 360.0f, 0.1f, 0.0f, 10000, + 0, 0, 0, 0, 0, SENSOR_FLAG_CONTINUOUS_MODE, {0}, }, #ifdef TARGET_DEVICE_P5100 { "BH1721 Light Sensor", "ROHM", 1, SENSOR_TYPE_LIGHT, - SENSOR_TYPE_LIGHT, 0.0f, 0.0f, 0.0f, 0, {}, }, + SENSOR_TYPE_LIGHT, 0.0f, 0.0f, 0.0f, 0, + 0, 0, 0, 0, 0, SENSOR_FLAG_CONTINUOUS_MODE, {0}, }, #endif #ifdef TARGET_DEVICE_P3100 { "GP2A Light Sensor", "Sharp", 1, SENSOR_TYPE_LIGHT, - SENSOR_TYPE_LIGHT, 10240.0f, 1.0f, 0.75f, 0, {}, }, + SENSOR_TYPE_LIGHT, 0.0f, 0.0f, 0.0f, 0, + 0, 0, 0, 0, 0, SENSOR_FLAG_CONTINUOUS_MODE, {0}, }, { "GP2A Proximity Sensor", "Sharp", 1, SENSOR_TYPE_PROXIMITY, - SENSOR_TYPE_PROXIMITY, 5.0f, 5.0f, 0.75f, 0, {}, }, + SENSOR_TYPE_PROXIMITY, 5.0f, 0.0f, 0.0f, 0, + 0, 0, 0, 0, 0, SENSOR_FLAG_WAKE_UP | SENSOR_FLAG_ON_CHANGE_MODE, {0}, }, #endif }; |