mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-10 04:37:37 +01:00
change v3 auto direct sampling swtich to 24 mhz
This commit is contained in:
parent
41ca7ff956
commit
8c59802348
@ -901,7 +901,7 @@ int rtlsdr_set_center_freq(rtlsdr_dev_t *dev, uint32_t freq)
|
|||||||
* Also only enable auto switch if ds mode is 0 (aka None, or standard mode)
|
* Also only enable auto switch if ds mode is 0 (aka None, or standard mode)
|
||||||
*/
|
*/
|
||||||
if(dev->direct_sampling_mode == 0) {
|
if(dev->direct_sampling_mode == 0) {
|
||||||
dev->direct_sampling = (freq < 28800000 && dev->tuner_type == RTLSDR_TUNER_R820T) ? 2 : 0;
|
dev->direct_sampling = (freq < 24000000 && dev->tuner_type == RTLSDR_TUNER_R820T) ? 2 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dev->direct_sampling) {
|
if (dev->direct_sampling) {
|
||||||
|
Loading…
Reference in New Issue
Block a user