diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-30 13:10:44 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-30 13:10:44 +0100 |
commit | 2d850b14e29006b57bb5d1591cfb64d21beec0cd (patch) | |
tree | f8bebd276b31ed5bd7f7bb596acc6ca4feb7c270 /dvbdevice.c | |
parent | 811078a0fec2a1acfdfbd27eea3ccb78722022a0 (diff) | |
download | vdr-2d850b14e29006b57bb5d1591cfb64d21beec0cd.tar.gz vdr-2d850b14e29006b57bb5d1591cfb64d21beec0cd.tar.bz2 |
Added maximum SNR value for PCTV Systems nanoStick T2 290e
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 8c57497b..27482e8b 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.76 2012/12/30 11:27:39 kls Exp $ + * $Id: dvbdevice.c 2.77 2012/12/30 13:08:41 kls Exp $ */ #include "dvbdevice.h" @@ -632,7 +632,8 @@ 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 + case 0x20130245: // PCTV Systems PCTV 73ESE + case 0x2013024F: MaxSnr = 255; break; // PCTV Systems nanoStick T2 290e } int a = int(Snr) * 100 / MaxSnr; int b = 100 - (Unc * 10 + (Ber / 256) * 5); |