delay variable removed
This commit is contained in:
parent
57c225d4fc
commit
04835587a7
@ -8,18 +8,13 @@
|
||||
TmTcBridge::TmTcBridge(object_id_t objectId_,
|
||||
object_id_t ccsdsPacketDistributor_): SystemObject(objectId_),
|
||||
ccsdsPacketDistributor(ccsdsPacketDistributor_),
|
||||
sentPacketsPerCycle(5), delayBetweenSentPacketsMs(0)
|
||||
{
|
||||
sentPacketsPerCycle(5) {
|
||||
TmTcReceptionQueue = QueueFactory::instance()->
|
||||
createMessageQueue(TMTC_RECEPTION_QUEUE_DEPTH);
|
||||
}
|
||||
|
||||
TmTcBridge::~TmTcBridge() {}
|
||||
|
||||
void TmTcBridge::setDelayBetweenSentPackets(uint32_t delayBetweenSentPackets) {
|
||||
this->delayBetweenSentPacketsMs = delayBetweenSentPackets;
|
||||
}
|
||||
|
||||
ReturnValue_t TmTcBridge::setNumberOfSentPacketsPerCycle(
|
||||
uint8_t sentPacketsPerCycle) {
|
||||
if(sentPacketsPerCycle <= MAX_STORED_DATA_SENT_PER_CYCLE) {
|
||||
|
@ -112,7 +112,7 @@ protected:
|
||||
* @param message
|
||||
* @return
|
||||
*/
|
||||
ReturnValue_t storeDownlinkData(TmTcMessage * message);
|
||||
virtual ReturnValue_t storeDownlinkData(TmTcMessage * message);
|
||||
|
||||
/**
|
||||
* Send stored data if communication link is active
|
||||
@ -130,7 +130,6 @@ protected:
|
||||
private:
|
||||
FIFO<store_address_t, MAX_DOWNLINK_PACKETS_STORED> fifo;
|
||||
uint8_t sentPacketsPerCycle = 10;
|
||||
uint32_t delayBetweenSentPacketsMs = 0;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user