mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-03 14:57:16 +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)
|
if (rc < 0)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
/* set VCO current = 100 */
|
/* set VCO current = 100 RTL-SDRBLOG MOD: MAX CURRENT*/
|
||||||
rc = r82xx_write_reg_mask(priv, 0x12, 0x80, 0xe0);
|
rc = r82xx_write_reg_mask(priv, 0x12, 0x00, 0xe0);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
@ -540,7 +540,7 @@ static int r82xx_set_pll(struct r82xx_priv *priv, uint32_t freq)
|
|||||||
|
|
||||||
if (!i) {
|
if (!i) {
|
||||||
/* Didn't lock. Increase VCO current */
|
/* 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)
|
if (rc < 0)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user