added FSFW test task
This commit is contained in:
12
example/test/FsfwTestTask.cpp
Normal file
12
example/test/FsfwTestTask.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user