summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorChristian Balster <christian.balster@gmail.com>2015-05-20 17:14:11 +0200
committerforkbomb <keepcalm444@gmail.com>2015-11-25 08:34:04 +1100
commit2104318f1e424bedb2f820931171b7df036b55c6 (patch)
tree2d0bb3cd9ae8d55c4d14a4ce7369db2630d614d9 /libsensors
parent0f8e8ccd66a668202eb8f651f0019d9cdda64165 (diff)
downloaddevice_samsung_i9300-2104318f1e424bedb2f820931171b7df036b55c6.zip
device_samsung_i9300-2104318f1e424bedb2f820931171b7df036b55c6.tar.gz
device_samsung_i9300-2104318f1e424bedb2f820931171b7df036b55c6.tar.bz2
i9300: libsensors: fix typo in accelerometer data
Change-Id: Iee501b65c23bed22bfe769496bafc852f939a8ac
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/lsm330dlc_acceleration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/lsm330dlc_acceleration.c b/libsensors/lsm330dlc_acceleration.c
index 4289eaf..2483cf8 100644
--- a/libsensors/lsm330dlc_acceleration.c
+++ b/libsensors/lsm330dlc_acceleration.c
@@ -354,7 +354,7 @@ int lsm330dlc_acceleration_get_data(struct smdk4x12_sensors_handlers *handlers,
event->sensor = handlers->handle;
event->type = handlers->handle;
- event->magnetic.status = SENSOR_STATUS_ACCURACY_MEDIUM;
+ event->acceleration.status = SENSOR_STATUS_ACCURACY_MEDIUM;
do {
rc = read(input_fd, &input_event, sizeof(input_event));