summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2021-07-23 10:35:28 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-09-21 15:20:33 +0000
commita6406ff3b28a897f84fc9057106856ee034230d0 (patch)
treeabfb08997c20021427e8f3c6369c8c036bc8a980 /binding
parent7403de36893f96a76ca54b0b02135e8dfd41cdd2 (diff)
Fix channel names for sensors devices.
Clearly channel names for gyroscope and compass were swapped. Bug-AGL: SPEC-3865 Change-Id: I8cf281486ffcc97f28ff49f33027cc9fa0bd7b04 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> (cherry picked from commit f4240dafa9d5afd446aea3a70a4ea082f6ed2420)
Diffstat (limited to 'binding')
-rw-r--r--binding/iiodevices-binding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/iiodevices-binding.c b/binding/iiodevices-binding.c
index 516b172..000191e 100644
--- a/binding/iiodevices-binding.c
+++ b/binding/iiodevices-binding.c
@@ -77,8 +77,8 @@ static struct client_sub * last_client = NULL;
/* Static definition of supported iiodevices */
static struct iio_info iio_infos[] = {
{ "16-001d", "acceleration", "accel"},
- { "16-001d", "gyroscope", "magn"},
- { "16-006b", "compass", "anglvel"},
+ { "16-001d", "gyroscope", "anglvel"},
+ { "16-006b", "compass", "magn"},
{ "asm330lhh_accel", "acceleration", "accel"},
{ "asm330lhh_gyro", "gyroscope", "anglvel"},
};