summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-03-30 11:44:40 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-03-30 11:44:40 +0200
commitf79a442f443edda16353a760b0b93eb4e63aaa42 (patch)
tree2d9b3074755d67f852f96328346c7f5150f53e7e /dvbdevice.c
parent64d0ed856b6c318aa161661f77b476c15dba6592 (diff)
downloadvdr-f79a442f443edda16353a760b0b93eb4e63aaa42.tar.gz
vdr-f79a442f443edda16353a760b0b93eb4e63aaa42.tar.bz2
Modified LOF handling to allow for C-band reception
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c3
1 files changed, 2 insertions, 1 deletions
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;