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:
4074e68
)
always initialize diseqc.data to make compiler happy
author
Andreas Oberritter
<obi@opendreambox.org>
Tue, 17 Jan 2006 23:00:12 +0000
(23:00 +0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 17 Jan 2006 23:00:12 +0000
(23:00 +0000)
lib/dvb/sec.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/sec.cpp
b/lib/dvb/sec.cpp
index 0c1d79ab29d8195b49fc9875d04bf045f3e86b71..9b4ee15adecf048d81a262fd99f80fc5ea772052 100644
(file)
--- a/
lib/dvb/sec.cpp
+++ b/
lib/dvb/sec.cpp
@@
-427,6
+427,11
@@
RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, FRONTENDPA
diseqc.data[2] = 0x38;
diseqc.data[3] = csw;
}
diseqc.data[2] = 0x38;
diseqc.data[3] = csw;
}
+ else
+ {
+ diseqc.data[2] = 0x00;
+ diseqc.data[3] = 0x00;
+ }
sec_sequence.push_back( eSecCommand(eSecCommand::SEND_DISEQC, diseqc) );
i++;
sec_sequence.push_back( eSecCommand(eSecCommand::SEND_DISEQC, diseqc) );
i++;
@@
-557,6
+562,7
@@
RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, FRONTENDPA
diseqc.len = 4;
diseqc.data[2] = 0x6B; // goto stored sat position
diseqc.data[3] = RotorCmd;
diseqc.len = 4;
diseqc.data[2] = 0x6B; // goto stored sat position
diseqc.data[3] = RotorCmd;
+ diseqc.data[4] = 0x00;
}
if ( rotor_param.m_inputpower_parameters.m_use )
}
if ( rotor_param.m_inputpower_parameters.m_use )