diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-01 16:14:19 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-01 16:14:19 +0000 |
| commit | 20fc6d7c0f9a9f23217b9562a743ab681cd33f75 (patch) | |
| tree | 186781e7195ff83685e26943d530c20d70c524cc /lib/dvb/frontend.cpp | |
| parent | 23cae74818b4ad1b6ed998f0e5d66c1b05302ef8 (diff) | |
| download | enigma2-20fc6d7c0f9a9f23217b9562a743ab681cd33f75.tar.gz enigma2-20fc6d7c0f9a9f23217b9562a743ab681cd33f75.zip | |
small fix
Diffstat (limited to 'lib/dvb/frontend.cpp')
| -rw-r--r-- | lib/dvb/frontend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index 795841b8..049753b0 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -195,8 +195,8 @@ RESULT eDVBFrontendParameters::getHash(unsigned long &hash) const { case iDVBFrontend::feSatellite: { - hash = sat.frequency & 0xFFFF; - hash |= sat.orbital_position << 16; + hash = (sat.orbital_position << 16); + hash |= ((sat.frequency/1000)&0xFFFF)|((sat.polarisation&1) << 15); return 0; } case iDVBFrontend::feCable: |
