projects
/
vuplus_dvbapp
/ 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
55be6f9
..
b25794f
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