aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2006-01-17 23:00:12 +0000
committerAndreas Oberritter <obi@opendreambox.org>2006-01-17 23:00:12 +0000
commit661a3e90b05b18185639d43ff30b9ae3532561c4 (patch)
tree034794327e6bb364135465e850f4cc1e9d7a8556 /lib/dvb
parent4074e687a61dd3de7bcb7319f023fd08af402cf3 (diff)
downloadenigma2-661a3e90b05b18185639d43ff30b9ae3532561c4.tar.gz
enigma2-661a3e90b05b18185639d43ff30b9ae3532561c4.zip
always initialize diseqc.data to make compiler happy
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/sec.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/dvb/sec.cpp b/lib/dvb/sec.cpp
index 0c1d79ab..9b4ee15a 100644
--- 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;
}
+ else
+ {
+ diseqc.data[2] = 0x00;
+ diseqc.data[3] = 0x00;
+ }
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.data[4] = 0x00;
}
if ( rotor_param.m_inputpower_parameters.m_use )