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

Return value of 'get_tuner_gain' if gain value is 0 #24

Open
nocarryr opened this issue Jul 5, 2015 · 0 comments
Open

Return value of 'get_tuner_gain' if gain value is 0 #24

nocarryr opened this issue Jul 5, 2015 · 0 comments

Comments

@nocarryr
Copy link

nocarryr commented Jul 5, 2015

The comments for rtlsdr_get_tuner_gain state that a return value of 0 is an error, but what would be an appropriate return value if the tuner gain is actually set to 0?

I have checked to see if this is a valid gain setting, and "0" is in the list of values returned by the 'get_tuner_gains' function with my RTL2832.

Could this possibly be a documentation issue, or does "0" definitely indicate an error?

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

No branches or pull requests

1 participant