diff options
author | Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> | 2021-07-23 10:35:28 +0200 |
---|---|---|
committer | Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> | 2021-07-26 10:38:44 +0200 |
commit | f4240dafa9d5afd446aea3a70a4ea082f6ed2420 (patch) | |
tree | 39c73e38b491ee252df0ea84f3a921dae7fa2458 | |
parent | 07500b890cb2ac11bed6b945e04cd9f4f9ef8fba (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>
-rw-r--r-- | binding/iiodevices-binding.c | 4 |
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"}, }; |