diff options
author | Christian Balster <christian.balster@gmail.com> | 2015-05-20 17:14:11 +0200 |
---|---|---|
committer | forkbomb <keepcalm444@gmail.com> | 2015-11-25 08:34:04 +1100 |
commit | 2104318f1e424bedb2f820931171b7df036b55c6 (patch) | |
tree | 2d0bb3cd9ae8d55c4d14a4ce7369db2630d614d9 | |
parent | 0f8e8ccd66a668202eb8f651f0019d9cdda64165 (diff) | |
download | device_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
-rw-r--r-- | libsensors/lsm330dlc_acceleration.c | 2 |
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)); |