From f79a442f443edda16353a760b0b93eb4e63aaa42 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Mar 2003 11:44:40 +0200 Subject: Modified LOF handling to allow for C-band reception --- dvbdevice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dvbdevice.c') 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; -- cgit v1.2.3