aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb_ci/dvbci_ui.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-21 00:47:54 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-21 00:47:54 +0000
commit24c472e37de8db4007cdd4c5d67d3fd4e914f0b1 (patch)
tree48b0395dc60206e2ac8abd1ba5d0b14e310f6d6b /lib/dvb_ci/dvbci_ui.cpp
parentea65d88df7ab329f5950a6f5f8fee817c19f78c3 (diff)
downloadenigma2-24c472e37de8db4007cdd4c5d67d3fd4e914f0b1.tar.gz
enigma2-24c472e37de8db4007cdd4c5d67d3fd4e914f0b1.zip
Pip is now working with CI
fixes for more than one CI
Diffstat (limited to 'lib/dvb_ci/dvbci_ui.cpp')
-rw-r--r--lib/dvb_ci/dvbci_ui.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/dvb_ci/dvbci_ui.cpp b/lib/dvb_ci/dvbci_ui.cpp
index 56ca25fc..ce9aac1f 100644
--- a/lib/dvb_ci/dvbci_ui.cpp
+++ b/lib/dvb_ci/dvbci_ui.cpp
@@ -22,7 +22,7 @@ eDVBCI_UI::eDVBCI_UI()
slotdata[i].mmiScreen=NULL;
slotdata[i].mmiScreenReady=0;
slotdata[i].mmiTuplePos=0;
- slotdata[i].state=0;
+ slotdata[i].state=-1;
}
}
@@ -43,11 +43,7 @@ eDVBCI_UI *eDVBCI_UI::getInstance()
int eDVBCI_UI::getState(int slot)
{
if (slot < MAX_SLOTS)
- {
- if (eDVBCIInterfaces::getInstance()->getSlotState(slot) == eDVBCISlot::stateInvalid)
- eDVBCIInterfaces::getInstance()->reset(slot);
return slotdata[slot].state;
- }
return 0;
}