diff --git a/bsp_hosted/objectFactory.cpp b/bsp_hosted/objectFactory.cpp index 30a4154b..1ffc6625 100644 --- a/bsp_hosted/objectFactory.cpp +++ b/bsp_hosted/objectFactory.cpp @@ -39,8 +39,6 @@ #include "devices/gpioIds.h" #include "fsfw_hal/linux/gpio/Gpio.h" #include "linux/payload/FreshSupvHandler.h" -#include "linux/payload/PlocMpsocHandler.h" -#include "linux/payload/PlocMpsocSpecialComHelper.h" #include "linux/payload/PlocSupvUartMan.h" #include "test/gpio/DummyGpioIF.h" #endif @@ -79,7 +77,10 @@ void ObjectFactory::produce(void* args) { switcherList.emplace_back(initVal); } dummySwitcher->setInitialSwitcherList(switcherList); + #ifdef PLATFORM_UNIX + // Obsolete dev handler.. + /* new SerialComIF(objects::UART_COM_IF); #if OBSW_ADD_PLOC_MPSOC == 1 std::string mpscoDev = ""; @@ -90,7 +91,8 @@ void ObjectFactory::produce(void* args) { new PlocMpsocHandler(objects::PLOC_MPSOC_HANDLER, objects::UART_COM_IF, mpsocCookie, plocMpsocHelper, Gpio(gpioIds::ENABLE_MPSOC_UART, dummyGpioIF), objects::PLOC_SUPERVISOR_HANDLER); -#endif /* OBSW_ADD_PLOC_MPSOC == 1 */ +#endif // OBSW_ADD_PLOC_MPSOC == 1 + */ #if OBSW_ADD_PLOC_SUPERVISOR == 1 std::string plocSupvString = "/dev/ploc_supv"; auto supervisorCookie = diff --git a/linux/payload/plocMpsocHelpers.h b/linux/payload/plocMpsocHelpers.h index 57fc433e..9fc3206e 100644 --- a/linux/payload/plocMpsocHelpers.h +++ b/linux/payload/plocMpsocHelpers.h @@ -7,6 +7,7 @@ #include "eive/definitions.h" #include "eive/eventSubsystemIds.h" +#include "eive/resultClassIds.h" #include "fsfw/returnvalues/returnvalue.h" #include "fsfw/serialize/SerializeAdapter.h" #include "fsfw/serialize/SerializeIF.h"