summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-12-30 11:30:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-12-30 11:30:17 +0100
commit811078a0fec2a1acfdfbd27eea3ccb78722022a0 (patch)
treec5611bb6c36159fad5203517b22c36999f45fb1b /dvbdevice.c
parent0dd2dcf5a27b9ad52ab1d756c3eb76312fd2aa33 (diff)
downloadvdr-811078a0fec2a1acfdfbd27eea3ccb78722022a0.tar.gz
vdr-811078a0fec2a1acfdfbd27eea3ccb78722022a0.tar.bz2
Added maximum SNR value for PCTV Systems PCTV 73ESE1.7.35
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 43e8544a..8c57497b 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 2.75 2012/12/03 14:07:01 kls Exp $
+ * $Id: dvbdevice.c 2.76 2012/12/30 11:27:39 kls Exp $
*/
#include "dvbdevice.h"
@@ -632,6 +632,7 @@ int cDvbTuner::GetSignalQuality(void) const
// special treatment to map their Snr value into the range 0...0xFFFF.
switch (subsystemId) {
case 0x13C21019: MaxSnr = 200; break; // TT-budget S2-3200 (DVB-S/DVB-S2)
+ case 0x20130245: MaxSnr = 255; break; // PCTV Systems PCTV 73ESE
}
int a = int(Snr) * 100 / MaxSnr;
int b = 100 - (Unc * 10 + (Ber / 256) * 5);