We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5650e9 commit f0d6e89Copy full SHA for f0d6e89
src/librtlsdr.c
@@ -1636,7 +1636,10 @@ int rtlsdr_open(rtlsdr_dev_t **out_dev, uint32_t index)
1636
if(dev->force_bt) rtlsdr_set_gpio(dev, 0, 1);
1637
/* Hack to force direct sampling mode to always be on if we set the remote-enabled bit in the EEPROM to 1. Default on EEPROM is 0. */
1638
dev->force_ds = (buf[7] & 0x01) ? 1 : 0;
1639
- if(dev->force_ds) dev->tuner_type = RTLSDR_TUNER_UNKNOWN;
+ if(dev->force_ds) {
1640
+ dev->tuner_type = RTLSDR_TUNER_UNKNOWN;
1641
+ rtlsdr_set_direct_sampling(dev, 2);
1642
+ }
1643
1644
1645
if (dev->tuner->init)
0 commit comments