Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for PLL reference clock #37

Merged
merged 2 commits into from
Oct 10, 2020
Merged

Adding support for PLL reference clock #37

merged 2 commits into from
Oct 10, 2020

Conversation

SignalWhisperer
Copy link

PR for #36
This is the version with support only for the PLL and nothing related to clock buffer selection.

ranges.emplace_back(overallRange.minimum()/1.0, overallRange.maximum()/4.0, overallRange.maximum()/16.0);
ranges.emplace_back(overallRange.maximum()/4.0, overallRange.maximum()/2.0, overallRange.maximum()/8.0);
ranges.emplace_back(overallRange.maximum()/2.0, overallRange.maximum()/1.0, overallRange.maximum()/4.0);
return ranges;
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont know why these fake ranges ended up here in the first place. It might have been for a GUI to infer a drop down over sliders. I have half a mind to remove it from getSampleRateRange.

In this case, just return {range};

Copy link
Author

Choose a reason for hiding this comment

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

I'm also not sure why they're there. Just trying to fit in with the style of similar functions. I'll update that.

@guruofquality
Copy link
Contributor

Seems good, and adds functionality. Might revisit after merging any API additions to SoapySDR

@guruofquality guruofquality merged commit d107859 into pothosware:master Oct 10, 2020
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