aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-05 14:57:27 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-05 14:57:27 +0000
commitc61d41422afe49ea1c31bc14913452ef3b571c21 (patch)
tree25c2c6b22dd364492cbb64a39e175c16590b4877
parente9932209c5f7a46f1545352eaeb3aa881434c490 (diff)
downloadenigma2-c61d41422afe49ea1c31bc14913452ef3b571c21.tar.gz
enigma2-c61d41422afe49ea1c31bc14913452ef3b571c21.zip
revert non working changes
-rw-r--r--lib/dvb/frontend.cpp6
-rw-r--r--lib/dvb/frontend.h3
-rw-r--r--lib/dvb/sec.cpp6
3 files changed, 3 insertions, 12 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 220d3e87..a1bc3d9f 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -91,7 +91,6 @@ void eDVBDiseqcCommand::setCommandString(const char *str)
eDebug("invalid diseqc command string length (string is to long)");
return;
}
- eDebugNoNewLine("send diseqc:");
unsigned char val=0;
for (int i=0; i < slen; ++i)
{
@@ -108,13 +107,11 @@ void eDVBDiseqcCommand::setCommandString(const char *str)
if ( i % 2 )
{
val |= c;
- eDebugNoNewLine("%02x", val);
data[i/2] = val;
}
else
val = c << 4;
}
- eDebug("");
len = slen/2;
}
@@ -546,9 +543,6 @@ void eDVBFrontend::feEvent(int w)
#endif
{
state = stateLock;
- m_data[CSW] = m_data[NEW_CSW];
- m_data[UCSW] = m_data[NEW_UCSW];
- m_data[TONEBURST] = m_data[NEW_TONEBURST];
} else
{
if (m_tuning)
diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h
index abc28d92..3670ceb8 100644
--- a/lib/dvb/frontend.h
+++ b/lib/dvb/frontend.h
@@ -58,9 +58,6 @@ class eDVBFrontend: public iDVBFrontend, public Object
eSecCommandList m_sec_sequence;
enum {
- NEW_CSW, // new committed switch cmd
- NEW_UCSW, // new uncommitted switch cmd
- NEW_TONEBURST, // new toneburst switch cmd
CSW, // state of the committed switch
UCSW, // state of the uncommitted switch
TONEBURST, // current state of toneburst switch
diff --git a/lib/dvb/sec.cpp b/lib/dvb/sec.cpp
index c679b762..7319a4be 100644
--- a/lib/dvb/sec.cpp
+++ b/lib/dvb/sec.cpp
@@ -774,9 +774,9 @@ RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, FRONTENDPA
else
csw = band;
- frontend.setData(eDVBFrontend::NEW_CSW, csw);
- frontend.setData(eDVBFrontend::NEW_UCSW, ucsw);
- frontend.setData(eDVBFrontend::NEW_TONEBURST, di_param.m_toneburst_param);
+ frontend.setData(eDVBFrontend::CSW, csw);
+ frontend.setData(eDVBFrontend::UCSW, ucsw);
+ frontend.setData(eDVBFrontend::TONEBURST, di_param.m_toneburst_param);
if (!linked && doSetVoltageToneFrontend)
{