mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-31 21:37:13 +01:00
Max VCO currents
Better L-Band locks
This commit is contained in:
parent
81833a1cf6
commit
f26bf11bbd
@ -447,8 +447,8 @@ static int r82xx_set_pll(struct r82xx_priv *priv, uint32_t freq)
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
|
||||
/* set VCO current = 100 */
|
||||
rc = r82xx_write_reg_mask(priv, 0x12, 0x80, 0xe0);
|
||||
/* set VCO current = 100 RTL-SDRBLOG MOD: MAX CURRENT*/
|
||||
rc = r82xx_write_reg_mask(priv, 0x12, 0x00, 0xe0);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
|
||||
@ -540,7 +540,7 @@ static int r82xx_set_pll(struct r82xx_priv *priv, uint32_t freq)
|
||||
|
||||
if (!i) {
|
||||
/* Didn't lock. Increase VCO current */
|
||||
rc = r82xx_write_reg_mask(priv, 0x12, 0x60, 0xe0);
|
||||
rc = r82xx_write_reg_mask(priv, 0x12, 0x00, 0xe0);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user