summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-05 14:37:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-05 14:37:26 +0200
commit41c96300f13fc1b3b709e0162d3dea3c6c7cf968 (patch)
tree652dbcbe86ede6bd2836ef5b90472b276295c293 /dvbdevice.c
parent32e9db211d15676861ed005a07fc96ede6cef275 (diff)
downloadvdr-41c96300f13fc1b3b709e0162d3dea3c6c7cf968.tar.gz
vdr-41c96300f13fc1b3b709e0162d3dea3c6c7cf968.tar.bz2
No longer setting lnb voltage if the frontend is not DVB-S
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index cb143a6d..5f50cde1 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.86 2004/05/23 10:11:42 kls Exp $
+ * $Id: dvbdevice.c 1.87 2004/06/05 14:35:36 kls Exp $
*/
#include "dvbdevice.h"
@@ -101,7 +101,8 @@ cDvbTuner::cDvbTuner(int Fd_Frontend, int CardIndex, fe_type_t FrontendType, cCi
useCa = false;
tunerStatus = tsIdle;
startTime = time(NULL);
- CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)); // must explicitly turn on LNB power
+ if (frontendType == FE_QPSK)
+ CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)); // must explicitly turn on LNB power
SetDescription("tuner on device %d", cardIndex + 1);
Start();
}