Removed obsolete stuff

This commit is contained in:
petriVM18 2022-07-13 09:26:22 +02:00
parent 5e4d07bd25
commit 84c4f47ed1
5 changed files with 1 additions and 13 deletions

View File

@ -139,13 +139,6 @@ void initmission::initTasks() {
}
#endif /* OBSW_ADD_TEST_CODE == 1 */
PeriodicTaskIF* configTask = factory->createPeriodicTask(
"CONFIG_TASK", 40, PeriodicTaskIF::MINIMUM_STACK_SIZE, 2.0, missedDeadlineFunc);
result = configTask->addComponent(objects::CONFIG_TEST);
if (result != HasReturnvaluesIF::RETURN_OK) {
initmission::printAddObjectError("CONFIG_TASK", objects::CONFIG_TEST);
}
sif::info << "Starting tasks.." << std::endl;
@ -158,7 +151,6 @@ void initmission::initTasks() {
pusHighPrio->startTask();
pusMedPrio->startTask();
pusLowPrio->startTask();
configTask->startTask();
#if OBSW_ADD_TEST_CODE == 1
testTask->startTask();

View File

@ -47,5 +47,4 @@ void ObjectFactory::produce(void* args) {
ObjectFactory::produceGenericObjects();
new TestTask(objects::TEST_TASK);
new GlobalConfigHandler(objects::CONFIG_TEST,"/path/to/JSON.config");
}
}

View File

@ -21,7 +21,6 @@ enum sourceObjects : uint32_t {
/* Test Task */
TEST_TASK = 0x42694269,
CONFIG_TEST = 0x42694270,
DUMMY_INTERFACE = 0xCAFECAFE,
DUMMY_HANDLER = 0x4400AFFE,

View File

@ -33,7 +33,6 @@ enum : uint8_t {
ACU_HANDLER = 135,
PLOC_SUPV_HELPER = 136,
SYRLINKS = 137,
CONFIGHANDLER=138,
COMMON_SUBSYSTEM_ID_END
};

View File

@ -54,7 +54,6 @@ enum sourceObjects : uint32_t {
/* 0x54 ('T') for test handlers */
TEST_TASK = 0x54694269,
CONFIG_TEST = 0x54694270,
LIBGPIOD_TEST = 0x54123456,
SPI_TEST = 0x54000010,
UART_TEST = 0x54000020,