git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b6a2eec
)
frontend.cpp: 4505 and 4506 use the same snrdb calculation
author
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 10 Sep 2009 13:32:54 +0000
(15:32 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 10 Sep 2009 13:32:54 +0000
(15:32 +0200)
lib/dvb/frontend.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/frontend.cpp
b/lib/dvb/frontend.cpp
index 10e89453069132daaa95776be3904ae8219e60d3..15a46db83b66ed2139301c4987be154d75e819a2 100644
(file)
--- 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)