From 2d850b14e29006b57bb5d1591cfb64d21beec0cd Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Dec 2012 13:10:44 +0100 Subject: [PATCH] Added maximum SNR value for PCTV Systems nanoStick T2 290e --- CONTRIBUTORS | 1 + HISTORY | 5 +++++ config.h | 10 +++++----- dvbdevice.c | 5 +++-- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 21489eba..893eeef9 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2440,6 +2440,7 @@ Anssi Hannula Antti Hartikainen for updating 'S13E' in 'sources.conf' + for adding maximum SNR value for PCTV Systems nanoStick T2 290e Bernd Melcher for reporting a problem with the 'servicedemo' plugin having no PLUGIN macro diff --git a/HISTORY b/HISTORY index 311fb614..87e674ab 100644 --- a/HISTORY +++ b/HISTORY @@ -7493,3 +7493,8 @@ Video Disk Recorder Revision History Endriss). You may need to adjust your DVBDIR setting in Make.config, in case you use it. - Added maximum SNR value for PCTV Systems PCTV 73ESE (thanks to Cedric Dewijs). + +2012-12-30: Version 1.7.36 + +- Added maximum SNR value for PCTV Systems nanoStick T2 290e (thanks to Antti + Hartikainen). diff --git a/config.h b/config.h index eced96e9..807850fb 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 2.59 2012/12/27 09:56:56 kls Exp $ + * $Id: config.h 2.60 2012/12/30 13:08:41 kls Exp $ */ #ifndef __CONFIG_H @@ -22,13 +22,13 @@ // VDR's own version number: -#define VDRVERSION "1.7.35" -#define VDRVERSNUM 10735 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.7.36" +#define VDRVERSNUM 10736 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: -#define APIVERSION "1.7.35" -#define APIVERSNUM 10735 // Version * 10000 + Major * 100 + Minor +#define APIVERSION "1.7.36" +#define APIVERSNUM 10736 // Version * 10000 + Major * 100 + Minor // When loading plugins, VDR searches them by their APIVERSION, which // may be smaller than VDRVERSION in case there have been no changes to 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);