mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-10 04:37:37 +01:00
Update tuner_r82xx.c
This commit is contained in:
parent
d70d519a8c
commit
bca510bc12
@ -1179,6 +1179,12 @@ int r82xx_set_freq(struct r82xx_priv *priv, uint32_t freq)
|
||||
cable_2_in = (band == HF) ? 0x08 : 0x00;
|
||||
rc = r82xx_write_reg_mask(priv, 0x06, cable_2_in, 0x08);
|
||||
|
||||
if (rc < 0)
|
||||
goto err;
|
||||
|
||||
/* Control upconverter GPIO switch on newer batches */
|
||||
rc = rtlsdr_set_bias_tee_gpio(priv->rtl_dev, 5, !cable_2_in);
|
||||
|
||||
if (rc < 0)
|
||||
goto err;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user