added FSFW test task

This commit is contained in:
2021-11-19 14:12:12 +01:00
parent cf97d690fe
commit f193608c38
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#include "FsfwTestTask.h"
FsfwTestTask::FsfwTestTask(object_id_t objectId, bool periodicEvent):
TestTask(objectId), periodicEvent(periodicEvent) {
}
ReturnValue_t FsfwTestTask::performPeriodicAction() {
if(periodicEvent) {
triggerEvent(TEST_EVENT, 0x1234, 0x4321);
}
return HasReturnvaluesIF::RETURN_OK;
}