From f79a442f443edda16353a760b0b93eb4e63aaa42 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Mar 2003 11:44:40 +0200 Subject: [PATCH] Modified LOF handling to allow for C-band reception --- CONTRIBUTORS | 3 +++ HISTORY | 1 + dvbdevice.c | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 03c495bd..ddba8241 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -564,3 +564,6 @@ Florian Bartels Sascha Volkenandt for helping to fix a faulty behaviour of the "Mute" key in case the channel display is visible + +Malcolm Caldwell + for modifying LOF handling to allow for C-band reception diff --git a/HISTORY b/HISTORY index bd52f997..f4587c1a 100644 --- a/HISTORY +++ b/HISTORY @@ -2002,3 +2002,4 @@ Video Disk Recorder Revision History - Fixed faulty behaviour of the "Mute" key in case the channel display is visible (thanks to Florian Bartels for reporting this one and Sascha Volkenandt for helping to fix it). +- Modified LOF handling to allow for C-band reception (thanks to Malcolm Caldwell). diff --git a/dvbdevice.c b/dvbdevice.c index 24f582f3..88bf4154 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.47 2003/03/23 15:18:40 kls Exp $ + * $Id: dvbdevice.c 1.48 2003/03/30 11:43:14 kls Exp $ */ #include "dvbdevice.h" @@ -196,6 +196,7 @@ bool cDvbTuner::SetFrontend(void) CHECK(ioctl(fd_frontend, FE_SET_TONE, tone)); } + frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF Frontend.frequency = frequency * 1000UL; Frontend.inversion = fe_spectral_inversion_t(channel.Inversion()); Frontend.u.qpsk.symbol_rate = channel.Srate() * 1000UL;