summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-09 13:18:15 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-09 13:18:15 +0100
commit0975bfc440e5ae986783c1b03b402440a3a2fd26 (patch)
tree0f27f39a8dd2cd3d4cf27b97317bcac7344306bf /dvbdevice.c
parente60ba0311bbcff5395ad8a8c1fb067f2e750477e (diff)
downloadvdr-0975bfc440e5ae986783c1b03b402440a3a2fd26.tar.gz
vdr-0975bfc440e5ae986783c1b03b402440a3a2fd26.tar.bz2
Added support for circular polarization
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 42c51444..9c7fd381 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.112 2005/01/07 15:54:52 kls Exp $
+ * $Id: dvbdevice.c 1.113 2005/01/09 13:04:20 kls Exp $
*/
#include "dvbdevice.h"
@@ -242,7 +242,7 @@ bool cDvbTuner::SetFrontend(void)
frequency -= Setup.LnbFrequHi;
tone = SEC_TONE_ON;
}
- int volt = (channel.Polarization() == 'v' || channel.Polarization() == 'V') ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18;
+ int volt = (channel.Polarization() == 'v' || channel.Polarization() == 'V' || channel.Polarization() == 'r' || channel.Polarization() == 'R') ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18;
CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, volt));
CHECK(ioctl(fd_frontend, FE_SET_TONE, tone));
}