summaryrefslogtreecommitdiffstats
path: root/libsensors/lsm330dlc_acceleration.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/lsm330dlc_acceleration.c')
-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));