Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the index field of struct iio_channel was being used to test against the buffer field of struct iio_device and struct iio_buffer. This is incorrect because the index of the first channel may be non-zero and the indexes may not be contiguous. For further evidence, look at iio_channel_enable/disable() which use number rather than index. Signed-off-by: David Frey <[email protected]>
- Loading branch information