diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2020-02-17 01:20:24 +0100 |
---|---|---|
committer | Steve Markgraf <steve@steve-m.de> | 2020-02-18 20:52:20 +0100 |
commit | 1dff8e0b4c5681cf2cbc6d4ab0aa0bee30c5ed09 (patch) | |
tree | 2a8c44f959c873cd7d170868c26d756452b04de3 /src/tuner_fc0013.c | |
parent | be2e4f899a4a14a3527f2c1331d6d904047b3525 (diff) |
lib: enable better UHF reception (>862MHz) for FC0013
Diffstat (limited to 'src/tuner_fc0013.c')
-rw-r--r-- | src/tuner_fc0013.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tuner_fc0013.c b/src/tuner_fc0013.c index 78b696e..5984dfb 100644 --- a/src/tuner_fc0013.c +++ b/src/tuner_fc0013.c @@ -248,11 +248,11 @@ int fc0013_set_params(void *dev, uint32_t freq, uint32_t bandwidth) if (ret) goto exit; - /* disable UHF & enable GPS */ + /* enable UHF & disable GPS */ ret = fc0013_readreg(dev, 0x14, &tmp); if (ret) goto exit; - ret = fc0013_writereg(dev, 0x14, (tmp & 0x1f) | 0x20); + ret = fc0013_writereg(dev, 0x14, (tmp & 0x1f) | 0x40); if (ret) goto exit; } |