projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
return of void function should not return a value
[vuplus_dvbapp]
/
lib
/
dvb_ci
/
dvbci_mmi.cpp
diff --git
a/lib/dvb_ci/dvbci_mmi.cpp
b/lib/dvb_ci/dvbci_mmi.cpp
index
a6a0c8b
..
0efe6b8
100644
(file)
--- a/
lib/dvb_ci/dvbci_mmi.cpp
+++ b/
lib/dvb_ci/dvbci_mmi.cpp
@@
-19,12
+19,12
@@
return list;
eDVBCIMMISession::eDVBCIMMISession(eDVBCISlot *tslot)
{
slot = tslot;
eDVBCIMMISession::eDVBCIMMISession(eDVBCISlot *tslot)
{
slot = tslot;
- slot->
mmi_session = this
;
+ slot->
setMMIManager(this)
;
}
eDVBCIMMISession::~eDVBCIMMISession()
{
}
eDVBCIMMISession::~eDVBCIMMISession()
{
- slot->
mmi_session = 0
;
+ slot->
setMMIManager(NULL)
;
}
int eDVBCIMMISession::receivedAPDU(const unsigned char *tag, const void *data, int len)
}
int eDVBCIMMISession::receivedAPDU(const unsigned char *tag, const void *data, int len)
@@
-49,7
+49,6
@@
int eDVBCIMMISession::receivedAPDU(const unsigned char *tag, const void *data, i
unsigned char *d=(unsigned char*)data;
unsigned char *max=((unsigned char*)d) + len;
int textlen = len - 2;
unsigned char *d=(unsigned char*)data;
unsigned char *max=((unsigned char*)d) + len;
int textlen = len - 2;
- int i;
printf("in enq\n");
printf("in enq\n");
@@
-141,8
+140,9
@@
int eDVBCIMMISession::doAction()
unsigned char tag[]={0x9f, 0x88, 0x02};
unsigned char data[]={0x01, 0x01};
sendAPDU(tag, data, 2);
unsigned char tag[]={0x9f, 0x88, 0x02};
unsigned char data[]={0x01, 0x01};
sendAPDU(tag, data, 2);
- state=stateFakeOK;
- return 1;
+ state=stateIdle;
+ //state=stateFakeOK;
+ //return 1;
break;
}
case stateFakeOK:
break;
}
case stateFakeOK: