periodic event

This commit is contained in:
2021-06-30 10:00:20 +02:00
parent 59a9711115
commit c27416c0a7
9 changed files with 35 additions and 3 deletions

View File

@ -51,7 +51,11 @@ void ObjectFactory::produce(void* args) {
#endif /* OBSW_ADD_CORE_COMPONENTS == 1 */
new TestTask(objects::TEST_TASK, false);
bool periodicEvent = false;
#if OBSW_TASK_PERIODIC_EVENT == 1
periodicEvent = true;
#endif
new TestTask(objects::TEST_TASK, false, periodicEvent);
ObjectFactory::produceGenericObjects();
}