aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-12 21:04:29 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-12 21:04:29 +0000
commit8c486978808c7d1f027310e17ae06415e497befc (patch)
treef7f20f3699710b5312bf85becee5bb39efe7c5b9 /lib/dvb
parentf964458318a4a7087b2433c389e21ea654572c66 (diff)
downloadenigma2-8c486978808c7d1f027310e17ae06415e497befc.tar.gz
enigma2-8c486978808c7d1f027310e17ae06415e497befc.zip
fix sending of uncommitted command when no committed command is choosed and the command order says committed command first
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/sec.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/dvb/sec.cpp b/lib/dvb/sec.cpp
index 73294611..464a845a 100644
--- a/lib/dvb/sec.cpp
+++ b/lib/dvb/sec.cpp
@@ -504,7 +504,7 @@ RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, FRONTENDPA
++loops;
for ( int i=0; i < di_param.m_repeats; ++i )
- loops *= 2;
+ loops *= 2;
for ( int i = 0; i < loops;) // fill commands...
{
@@ -522,10 +522,10 @@ RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, FRONTENDPA
diseqc.data[2] = 0x38;
diseqc.data[3] = csw;
}
- else
+ else // no committed command confed.. so send uncommitted..
{
- diseqc.data[2] = 0x00;
- diseqc.data[3] = 0x00;
+ diseqc.data[2] = 0x39;
+ diseqc.data[3] = ucsw;
}
sec_sequence.push_back( eSecCommand(eSecCommand::SEND_DISEQC, diseqc) );