diff --git a/bsp_q7s/core/InitMission.cpp b/bsp_q7s/core/InitMission.cpp index 631c89eb..024f663d 100644 --- a/bsp_q7s/core/InitMission.cpp +++ b/bsp_q7s/core/InitMission.cpp @@ -1,5 +1,7 @@ #include "bsp_q7s/core/InitMission.h" +#include + #include #include @@ -148,6 +150,13 @@ void initmission::initTasks() { if (result != HasReturnvaluesIF::RETURN_OK) { initmission::printAddObjectError("TCS_BOARD_ASS", objects::TCS_BOARD_ASS); } + auto* rtdReader = ObjectManager::instance()->get(objects::SPI_RTD_COM_IF); + if (rtdReader != nullptr) { + result = sysTask->addComponent(objects::SPI_RTD_COM_IF); + if (result != HasReturnvaluesIF::RETURN_OK) { + initmission::printAddObjectError("SPI_RTD_COM_IF", objects::SPI_RTD_COM_IF); + } + } #endif /* OBSW_ADD_RTD_DEVICES == 1 */ // FS task, task interval does not matter because it runs in permanent loop, priority low