diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-03-30 11:44:40 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-03-30 11:44:40 +0200 |
commit | f79a442f443edda16353a760b0b93eb4e63aaa42 (patch) | |
tree | 2d9b3074755d67f852f96328346c7f5150f53e7e /dvbdevice.c | |
parent | 64d0ed856b6c318aa161661f77b476c15dba6592 (diff) | |
download | vdr-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.c | 3 |
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; |