aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-09-10 15:32:54 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-09-10 15:32:54 +0200
commit3e1cb3008ad22a23a1c9d0edff53346e2fc5d46d (patch)
tree9bd595678e5975eb8d0cfd3ee614a05444860b3e /lib/dvb
parentb6a2eec01cc6629134b470bea09198bcfe9385c3 (diff)
downloadenigma2-3e1cb3008ad22a23a1c9d0edff53346e2fc5d46d.tar.gz
enigma2-3e1cb3008ad22a23a1c9d0edff53346e2fc5d46d.zip
frontend.cpp: 4505 and 4506 use the same snrdb calculation
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/frontend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 10e89453..15a46db8 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -860,7 +860,7 @@ int eDVBFrontend::readFrontendData(int type)
if (snr != 0)
ret = 10 * (int)(-100 * (log10(snr) - log10(255)));
}
- else if (!strcmp(m_description, "BCM4506"))
+ else if (strstr(m_description, "BCM4506") || strstr(m_description, "BCM4505"))
ret = (snr * 100) >> 8;
if (type == signalQuality)