mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-02-05 14:54:58 +01:00
lib: enable better UHF reception (>862MHz) for FC0013
This commit is contained in:
parent
be2e4f899a
commit
1dff8e0b4c
@ -248,11 +248,11 @@ int fc0013_set_params(void *dev, uint32_t freq, uint32_t bandwidth)
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
/* disable UHF & enable GPS */
|
/* enable UHF & disable GPS */
|
||||||
ret = fc0013_readreg(dev, 0x14, &tmp);
|
ret = fc0013_readreg(dev, 0x14, &tmp);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto exit;
|
goto exit;
|
||||||
ret = fc0013_writereg(dev, 0x14, (tmp & 0x1f) | 0x20);
|
ret = fc0013_writereg(dev, 0x14, (tmp & 0x1f) | 0x40);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user