some refactoring

This commit is contained in:
2022-05-08 02:11:57 +02:00
parent 6984404979
commit ca501272d8
7 changed files with 18 additions and 9 deletions

View File

@@ -1,9 +1,16 @@
#include "FsfwTestTask.h"
#include "../test/testFmt.h"
#include <commonConfig.h>
#if FSFW_ADD_FMT_TESTS == 1
#include "testFmt.h"
#endif
FsfwTestTask::FsfwTestTask(object_id_t objectId, bool periodicEvent)
: TestTask(objectId), periodicEvent(periodicEvent) {
#if FSFW_ADD_FMT_TESTS == 1
fmtTests();
#endif
}
ReturnValue_t FsfwTestTask::performPeriodicAction() {