1
0
forked from fsfw/fsfw

timeslot update for FreeRTOS

This commit is contained in:
2020-08-27 16:05:31 +02:00
parent 9465c8f2b2
commit 66cf2d3559
7 changed files with 647 additions and 619 deletions

View File

@ -0,0 +1,17 @@
#include "FixedSequenceSlot.h"
#include "../objectmanager/SystemObjectIF.h"
#include <cstddef>
FixedSequenceSlot::FixedSequenceSlot(object_id_t handlerId, uint32_t setTime,
int8_t setSequenceId, ExecutableObjectIF* executableObject,
PeriodicTaskIF* executingTask) :
pollingTimeMs(setTime), opcode(setSequenceId) {
if(executableObject == nullptr) {
return;
}
this->executableObject = executableObject;
this->executableObject->setTaskIF(executingTask);
}
FixedSequenceSlot::~FixedSequenceSlot() {}