15 lines
367 B
C++
15 lines
367 B
C++
#include "FsfwTestTask.h"
|
|
#include "../test/testFmt.h"
|
|
|
|
FsfwTestTask::FsfwTestTask(object_id_t objectId, bool periodicEvent)
|
|
: TestTask(objectId), periodicEvent(periodicEvent) {
|
|
fmtTests();
|
|
}
|
|
|
|
ReturnValue_t FsfwTestTask::performPeriodicAction() {
|
|
if (periodicEvent) {
|
|
triggerEvent(TEST_EVENT, 0x1234, 0x4321);
|
|
}
|
|
return HasReturnvaluesIF::RETURN_OK;
|
|
}
|