pothosware / SoapyRTLSDR

SoapySDR RTL-SDR Support Module
https://github.com/pothosware/SoapyRTLSDR/wiki
MIT License
124 stars 29 forks source link

Biastee support #45

Closed jketterl closed 4 years ago

jketterl commented 4 years ago

This PR adds a setting that allows controlling the RTLSDR blog v3 bias-tee voltage.

See also: https://github.com/pothosware/SoapyRTLSDR/issues/30

zuckschwerdt commented 4 years ago

This does introduce a new settings API key, but that's compatible. @guruofquality Tested and good to merge.

guruofquality commented 4 years ago

Sorry this slipped by my radar. The change looks good, however, its a very recent addition it needs a check for rtlsdr_set_bias_tee() https://cmake.org/cmake/help/v3.0/module/CheckFunctionExists.html and a define if the function is detected or we will be hearing out things not compiling in short time :-)

jketterl commented 4 years ago

Thank you, I understand. I'll rework this accordingly.