From 9823823742c5e7b8181051832d3dba9edec16b56 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 22 Feb 2022 13:55:49 +0100 Subject: [PATCH] added back pl pcdu source compilation --- bsp_q7s/core/ObjectFactory.cpp | 1 + mission/devices/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/bsp_q7s/core/ObjectFactory.cpp b/bsp_q7s/core/ObjectFactory.cpp index a1e7ce14..dd48858f 100644 --- a/bsp_q7s/core/ObjectFactory.cpp +++ b/bsp_q7s/core/ObjectFactory.cpp @@ -1209,6 +1209,7 @@ void ObjectFactory::createPlPcduComponents(LinuxLibgpioIF* gpioComIF, SpiComIF* // Create device handler components auto plPcduHandler = new PayloadPcduHandler(objects::PLPCDU_HANDLER, objects::SPI_COM_IF, spiCookie, gpioComIF, false); + static_cast(plPcduHandler); #if OBSW_TEST_PL_PCDU == 1 plPcduHandler->setStartUpImmediately(); #if OBSW_DEBUG_PL_PCDU == 1 diff --git a/mission/devices/CMakeLists.txt b/mission/devices/CMakeLists.txt index 22b64c9e..16defedf 100644 --- a/mission/devices/CMakeLists.txt +++ b/mission/devices/CMakeLists.txt @@ -16,4 +16,5 @@ target_sources(${LIB_EIVE_MISSION} PRIVATE GyroADIS1650XHandler.cpp RwHandler.cpp max1227.cpp + PayloadPcduHandler.cpp )