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

Add support for RTL-SDR serial numbers #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thomasdouwes
Copy link

Added support for RTL-SDR serial number in the YAML config.
Hopefully my bad code isn't too bad. I'm not a fan of the switch and if statements in dsb.cpp but it does work.
I thought rtlsdr_get_index_by_serial() would return -1 because of the empty string but the docs means a NULL pointer. I guess I should set the index to 0 with the if instead of the switch.

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.

1 participant