mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 11:36:52 +00:00
calculate correct offset for other bands
This commit is contained in:
parent
044d4edd35
commit
fff388c93c
@ -360,10 +360,17 @@ static int tune_dvbs2(struct dvbfe *fe)
|
||||
{
|
||||
if (lofs)
|
||||
hi = (freq > lofs) ? 1 : 0;
|
||||
if (lofs > 10000000) {
|
||||
if (hi)
|
||||
freq -= fe->lof2[lnbc];
|
||||
else
|
||||
freq -= fe->lof1[lnbc];
|
||||
} else {
|
||||
if (hi)
|
||||
freq = fe->lof2[lnbc] - freq;
|
||||
else
|
||||
freq = fe->lof1[lnbc] - freq;
|
||||
}
|
||||
}
|
||||
if (fe->first) {
|
||||
fe->first = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user