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
(parent:
8c68c9f
)
add caluclation for bcm4506 based frontends
author
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 15 Mar 2009 09:19:41 +0000
(10:19 +0100)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 15 Mar 2009 09:19:41 +0000
(10:19 +0100)
lib/dvb/frontend.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/frontend.cpp
b/lib/dvb/frontend.cpp
index 5df179314eb212377785cbccac8d97873158183d..f2fc12b318889a51c1657a9a9f0b537183e8675e 100644
(file)
--- a/
lib/dvb/frontend.cpp
+++ b/
lib/dvb/frontend.cpp
@@
-858,6
+858,8
@@
int eDVBFrontend::readFrontendData(int type)
if (snr != 0)
ret = 10 * (int)(-100 * (log10(snr) - log10(255)));
}
+ else if (!strcmp(m_description, "BCM4506"))
+ ret = (snr * 100) >> 8;
if (type == signalQuality)
{