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:
6f49c4c
)
fix Philips Tu1216 snrdb calculcation
author
ghost
<andreas.monzner@multimedia-labs.de>
Wed, 3 Dec 2008 14:33:47 +0000
(15:33 +0100)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Wed, 3 Dec 2008 14:33:47 +0000
(15:33 +0100)
lib/dvb/frontend.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/frontend.cpp
b/lib/dvb/frontend.cpp
index 55be6f9c2837ffb0894c5b1b15cb072b919d291c..b25794f860be163eee14949e707f668c7c8924c9 100644
(file)
--- a/
lib/dvb/frontend.cpp
+++ b/
lib/dvb/frontend.cpp
@@
-857,7
+857,7
@@
int eDVBFrontend::readFrontendData(int type)
{
snr = 0xFF - (snr & 0xFF);
if (snr != 0)
- return (int)(-100 * (log10(snr) - log10(255)));
+ return
10 *
(int)(-100 * (log10(snr) - log10(255)));
return 0;
}
/* else