mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-06-28 05:57:49 +02:00
return RTLSDR_TUNER_UNKNOWN (0) on failure of rtlsdr_get_tuner_type
This commit is contained in:
@ -695,7 +695,7 @@ int rtlsdr_get_freq_correction(rtlsdr_dev_t *dev)
|
||||
enum rtlsdr_tuner rtlsdr_get_tuner_type(rtlsdr_dev_t *dev)
|
||||
{
|
||||
if (!dev)
|
||||
return -1;
|
||||
return RTLSDR_TUNER_UNKNOWN;
|
||||
|
||||
return dev->tuner_type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user