mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-06-25 12:47:50 +02:00
return RTLSDR_TUNER_UNKNOWN (0) on failure of rtlsdr_get_tuner_type
This commit is contained in:
@ -138,7 +138,7 @@ enum rtlsdr_tuner {
|
||||
* Get the tuner type.
|
||||
*
|
||||
* \param dev the device handle given by rtlsdr_open()
|
||||
* \return <= 0 on error, tuner type otherwise
|
||||
* \return RTLSDR_TUNER_UNKNOWN on error, tuner type otherwise
|
||||
*/
|
||||
RTLSDR_API enum rtlsdr_tuner rtlsdr_get_tuner_type(rtlsdr_dev_t *dev);
|
||||
|
||||
|
Reference in New Issue
Block a user