CFDP source handler #776

Merged
muellerr merged 96 commits from cfdp-source-handler into main 2023-10-19 11:11:31 +02:00
3 changed files with 2 additions and 5 deletions
Showing only changes of commit fa7443d4a9 - Show all commits

View File

@ -53,7 +53,7 @@ ReturnValue_t LiveTmTask::performOperation(uint8_t opCode) {
}
}
}
if (channel.isBusy()) {
if (channel.isBusy() and not signals::CFDP_CHANNEL_THROTTLE_SIGNAL) {
// Throttle CFDP packet creator. It is by far the most relevant data creator, so throttling
// it is the easiest way to handle back pressure for now in a sensible way. It is cleared
// by the data creator.
@ -80,8 +80,6 @@ ReturnValue_t LiveTmTask::performOperation(uint8_t opCode) {
}
// 40 ms IDLE delay. Might tweak this in the future.
TaskFactory::delayTask(40);
} else {
packetCounter++;
}
}
}

View File

@ -38,7 +38,6 @@ class LiveTmTask : public SystemObject,
PusTmFunnel& pusFunnel;
CfdpTmFunnel& cfdpFunnel;
VirtualChannel& channel;
uint32_t packetCounter = 0;
const std::atomic_bool& ptmeLocked;
void readCommandQueue(void);

2
tmtc

@ -1 +1 @@
Subproject commit 8d28b321d4a1fa4ba7f375bbb0cb36d843c7dcf5
Subproject commit bf399c3d910a034112121f3bfb08494f40d46bf2