Skip to content

scan: Fix default backends list containing disabled backends#795

Merged
pcercuei merged 1 commit intomasterfrom
pcercuei/fix-scan
Feb 21, 2022
Merged

scan: Fix default backends list containing disabled backends#795
pcercuei merged 1 commit intomasterfrom
pcercuei/fix-scan

Conversation

@pcercuei
Copy link
Copy Markdown
Contributor

Use CMake to give us a list of the backends available for scanning. This
makes sure that the context scan won't fail by trying to scan from a
backend that wasn't enabled.

Fixes #794.

Signed-off-by: Paul Cercueil paul@crapouillou.net

Use CMake to give us a list of the backends available for scanning. This
makes sure that the context scan won't fail by trying to scan from a
backend that wasn't enabled.

Fixes #794.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
@pcercuei pcercuei requested a review from tfcollins February 21, 2022 13:19
Copy link
Copy Markdown
Contributor

@tfcollins tfcollins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyadi tests are now passing. 👍

@pcercuei
Copy link
Copy Markdown
Contributor Author

Great, thanks.

@pcercuei pcercuei merged commit 163f9a5 into master Feb 21, 2022
@pcercuei pcercuei deleted the pcercuei/fix-scan branch February 21, 2022 16:30
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.

iio_scan_context_get_info_list Generating errors when no devices available

3 participants