Max VCO currents

Better L-Band locks
This commit is contained in:
rtlsdrblog 2019-10-11 15:06:50 +13:00 committed by GitHub
parent 81833a1cf6
commit f26bf11bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}