From 43a16173f1b95409ae5fdb19e7d19607bfe493d1 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 23 May 2021 20:44:54 +0200 Subject: [PATCH] fixes for linux board --- bsp_linux_board/InitMission.cpp | 6 +++--- bsp_linux_board/ObjectFactory.cpp | 18 ++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/bsp_linux_board/InitMission.cpp b/bsp_linux_board/InitMission.cpp index 40c38e6c..531f9d47 100644 --- a/bsp_linux_board/InitMission.cpp +++ b/bsp_linux_board/InitMission.cpp @@ -1,9 +1,9 @@ #include "InitMission.h" #include "ObjectFactory.h" -#include -#include -#include +#include "objects/systemObjectList.h" +#include "OBSWConfig.h" +#include "pollingsequence/pollingSequenceFactory.h" #include #include diff --git a/bsp_linux_board/ObjectFactory.cpp b/bsp_linux_board/ObjectFactory.cpp index 0518ac87..6c195b38 100644 --- a/bsp_linux_board/ObjectFactory.cpp +++ b/bsp_linux_board/ObjectFactory.cpp @@ -1,12 +1,12 @@ #include "ObjectFactory.h" -#include -#include -#include -#include -#include -#include -#include +#include "objects/systemObjectList.h" +#include "devices/addresses.h" +#include "devices/gpioIds.h" +#include "OBSWConfig.h" +#include "tmtc/apid.h" +#include "tmtc/pusIds.h" +#include "devices/spi.h" #include #include @@ -56,9 +56,7 @@ void ObjectFactory::produce(){ Factory::setStaticFrameworkObjectIds(); ObjectFactory::produceGenericObjects(); - new UdpTmTcBridge(objects::UDP_BRIDGE, - objects::CCSDS_PACKET_DISTRIBUTOR, - objects::TM_STORE, objects::TC_STORE); + new UdpTmTcBridge(objects::UDP_BRIDGE, objects::CCSDS_PACKET_DISTRIBUTOR); new UdpTcPollingTask(objects::UDP_POLLING_TASK, objects::UDP_BRIDGE); GpioIF* gpioIF = new LinuxLibgpioIF(objects::GPIO_IF);