periodic event
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
@ -8,6 +8,8 @@
|
||||
|
||||
#include <commonConfig.h>
|
||||
|
||||
#define OBSW_TASK_PERIODIC_EVENT 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "events/subsystemIdRanges.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FSFWCONFIG_TMTC_SUBSYSTEMIDRANGES_H_
|
||||
#define FSFWCONFIG_TMTC_SUBSYSTEMIDRANGES_H_
|
||||
|
||||
#include <commonConfig.h>
|
||||
#include "commonSubsystemIds.h"
|
||||
|
||||
namespace SUBSYSTEM_ID {
|
||||
enum subsystemId: uint8_t {
|
||||
|
Reference in New Issue
Block a user