Skip to content

Move set_num_kernel_buffers() to Device#28

Merged
fpagliughi merged 1 commit intofpagliughi:developfrom
eivindbergem:set_num_kernel_buffers
Sep 22, 2023
Merged

Move set_num_kernel_buffers() to Device#28
fpagliughi merged 1 commit intofpagliughi:developfrom
eivindbergem:set_num_kernel_buffers

Conversation

@eivindbergem
Copy link
Contributor

Calling iio_device_set_kernel_buffers_count() after creating an IIO buffer returns EBUSY. Since set_num_kernel_buffers() is a method on Buffer it will never run successfully.

This PR moves it to Device to fix this.

Calling `iio_device_set_kernel_buffers_count()` after creating a
buffer returns EBUSY.
@eivindbergem eivindbergem changed the base branch from master to develop September 20, 2023 09:20
@fpagliughi
Copy link
Owner

Thanks for the PR! If you saw my previous post (which I deleted), ignore it! This library needs a bump to v0.6 with a number of other updates, so this can go in as-is.

@fpagliughi fpagliughi added this to the v0.6 milestone Sep 21, 2023
@fpagliughi fpagliughi merged commit 8a99d45 into fpagliughi:develop Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants