From: Andreas Monzner Date: Wed, 12 Apr 2006 21:04:29 +0000 (+0000) Subject: fix sending of uncommitted command when no committed command is choosed and the comma... X-Git-Tag: 2.6.0~3630 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/8c486978808c7d1f027310e17ae06415e497befc fix sending of uncommitted command when no committed command is choosed and the command order says committed command first --- 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) );