summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-07-15 13:39:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-07-15 13:39:47 +0200
commitc36b51a5b0def365f99a1ecfb583da1a85199a17 (patch)
tree56fa9137c8c9e304d51d21e0a9b8ebe2efe989d0 /dvbapi.c
parent20019e7ce51b9e14ce28f96b263b76e6becd4184 (diff)
downloadvdr-c36b51a5b0def365f99a1ecfb583da1a85199a17.tar.gz
vdr-c36b51a5b0def365f99a1ecfb583da1a85199a17.tar.bz2
Fixed frequency offset to allow Hotbird channels
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 58b2d74f..1f18b8be 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.11 2000/06/24 14:03:19 kls Exp $
+ * $Id: dvbapi.c 1.12 2000/07/15 13:33:04 kls Exp $
*/
#include "dvbapi.h"
@@ -1327,8 +1327,8 @@ bool cDvbApi::SetChannel(int FrequencyMHz, char Polarization, int Diseqc, int Sr
struct frontend front;
ioctl(videoDev, VIDIOCGFRONTEND, &front);
unsigned int freq = FrequencyMHz;
- front.ttk = (freq < 11800UL) ? 0 : 1;
- if (freq < 11800UL)
+ front.ttk = (freq < 11700UL) ? 0 : 1;
+ if (freq < 11700UL)
freq -= 9750UL;
else
freq -= 10600UL;