change v3 auto direct sampling swtich to 24 mhz

This commit is contained in:
rtlsdrblog 2023-08-29 15:29:46 +12:00
parent 41ca7ff956
commit 8c59802348

View File

@ -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)
*/
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) {