apply steve-m/librtlsdr/pull/64 (bias-t only)

This commit is contained in:
2022-02-27 23:10:53 +01:00
parent 9fe533c949
commit bbe2e520d7
4 changed files with 40 additions and 3 deletions
+8 -1
View File
@@ -397,7 +397,14 @@ RTLSDR_API int rtlsdr_set_bias_tee(rtlsdr_dev_t *dev, int on);
*/
RTLSDR_API int rtlsdr_set_gpio(rtlsdr_dev_t *dev, int gpio_pin, int on);
/*!
* Control whether the bias tee is left on after rtlsdr_close() is called.
*
* \param dev the device handle given by rtlsdr_open()
* \param leave_on 1 to leave Bias T on upon library close; 0 otherwise
* \return -1 if device is not initialized. 0 otherwise.
*/
RTLSDR_API int rtlsdr_set_bias_tee_leave_on(rtlsdr_dev_t *dev, int leave_on);
#ifdef __cplusplus
}