Commit 1120507d authored by Christophe Massiot's avatar Christophe Massiot

* dvb.c: Fix C-band tuning.

parent 5bb5bbb8
......@@ -398,19 +398,17 @@ static int FrontendDoDiseqc(void)
else if ( i_frequency >= 2500000 && i_frequency <= 2700000 )
{
msg_Dbg( NULL, "frequency %d is in S-band", i_frequency );
bis_frequency = i_frequency - 3650000;
bis_frequency = 3650000 - i_frequency;
}
else if ( i_frequency >= 3400000 && i_frequency <= 4200000 )
{
msg_Dbg( NULL, "frequency %d is in C-band (lower)",
i_frequency );
bis_frequency = i_frequency - 5150000;
msg_Dbg( NULL, "frequency %d is in C-band (lower)", i_frequency );
bis_frequency = 5150000 - i_frequency;
}
else if ( i_frequency >= 4500000 && i_frequency <= 4800000 )
{
msg_Dbg( NULL, "frequency %d is in C-band (higher)",
i_frequency );
bis_frequency = i_frequency - 5950000;
msg_Dbg( NULL, "frequency %d is in C-band (higher)", i_frequency );
bis_frequency = 5950000 - i_frequency;
}
else if ( i_frequency >= 10700000 && i_frequency < 11700000 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment