diff --git a/PAULs_LPPMON_PLUGINS.pro.user b/PAULs_LPPMON_PLUGINS.pro.user --- a/PAULs_LPPMON_PLUGINS.pro.user +++ b/PAULs_LPPMON_PLUGINS.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/rmapplugin/rmapplugin.cpp b/rmapplugin/rmapplugin.cpp --- a/rmapplugin/rmapplugin.cpp +++ b/rmapplugin/rmapplugin.cpp @@ -343,6 +343,7 @@ void rmapplugin::receivePacketFromBridge { preProcessPacket(packet); this->generalCCSDSPacketStore.append(packet); + this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(generalCCSDSPacketStore.count())); processPacketStore(); } diff --git a/rmapplugin/rmappluginpythonwrapper.cpp b/rmapplugin/rmappluginpythonwrapper.cpp --- a/rmapplugin/rmappluginpythonwrapper.cpp +++ b/rmapplugin/rmappluginpythonwrapper.cpp @@ -120,28 +120,9 @@ void rmappluginPythonWrapper::sendTC() } } -/*unsigned int rmappluginPythonWrapper::storeCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size) -{ - unsigned int i; - TMPacketToRead ccsdsPacketToStore; - - ccsdsPacketToStore.size = size; - for(i=0; iappend(ccsdsPacketToStore); - emit ccsdsPacketIsAvailable(size); - return 1; -}*/ - void rmappluginPythonWrapper::processPacketStore() { - while (!ccsdsPacketStore->isEmpty()) - { - emit ccsdsPacketIsAvailable(ccsdsPacketStore->at(0)->size); - } + emit ccsdsPacketIsAvailable(ccsdsPacketStore->at(0)->size); } void rmappluginPythonWrapper::setTargetAddressValue(unsigned int address)