Commit Graph

2 Commits

Author SHA1 Message Date
Alexandre Bard 99f672de40 imu-setup: imu-poll: Fix symlink not deleted
When the symlink is broken, .exists returns false.
To check if the symlink itself exists, it is required to use .lexists.

BugzID: 61346
2020-04-21 09:47:18 +02:00
Alexandre Bard b8370406c5 imu-setup: Add support for polling mode
Required for HW23.
The code is not really clean but helps make the difference between HW21
and HW23. Polling creates a device /dev/imu0 giving the poll frequency.

BugzID: 61346
2020-04-16 22:36:08 +02:00