WIP: Fixes for Pointing Controller #616
@ -197,10 +197,10 @@ void dummy::createDummies(DummyCfg cfg, PowerSwitchIF& pwrSwitcher, GpioIF* gpio
|
|||||||
objects::TMP1075_HANDLER_PLPCDU_0,
|
objects::TMP1075_HANDLER_PLPCDU_0,
|
||||||
new Tmp1075Dummy(objects::TMP1075_HANDLER_PLPCDU_0, objects::DUMMY_COM_IF, comCookieDummy));
|
new Tmp1075Dummy(objects::TMP1075_HANDLER_PLPCDU_0, objects::DUMMY_COM_IF, comCookieDummy));
|
||||||
// damaged.
|
// damaged.
|
||||||
// tmpSensorDummies.emplace(
|
// tmpSensorDummies.emplace(
|
||||||
// objects::TMP1075_HANDLER_PLPCDU_1,
|
// objects::TMP1075_HANDLER_PLPCDU_1,
|
||||||
// new Tmp1075Dummy(objects::TMP1075_HANDLER_PLPCDU_1, objects::DUMMY_COM_IF,
|
// new Tmp1075Dummy(objects::TMP1075_HANDLER_PLPCDU_1, objects::DUMMY_COM_IF,
|
||||||
// comCookieDummy));
|
// comCookieDummy));
|
||||||
tmpSensorDummies.emplace(
|
tmpSensorDummies.emplace(
|
||||||
objects::TMP1075_HANDLER_IF_BOARD,
|
objects::TMP1075_HANDLER_IF_BOARD,
|
||||||
new Tmp1075Dummy(objects::TMP1075_HANDLER_IF_BOARD, objects::DUMMY_COM_IF, comCookieDummy));
|
new Tmp1075Dummy(objects::TMP1075_HANDLER_IF_BOARD, objects::DUMMY_COM_IF, comCookieDummy));
|
||||||
|
@ -5,10 +5,12 @@
|
|||||||
#include "fsfw/tasks/PeriodicTaskIF.h"
|
#include "fsfw/tasks/PeriodicTaskIF.h"
|
||||||
|
|
||||||
void scheduling::scheduleTmpTempSensors(PeriodicTaskIF* tmpTask) {
|
void scheduling::scheduleTmpTempSensors(PeriodicTaskIF* tmpTask) {
|
||||||
const std::array<object_id_t, 5> tmpIds = {
|
const std::array<object_id_t, 4> tmpIds = {objects::TMP1075_HANDLER_TCS_0,
|
||||||
objects::TMP1075_HANDLER_TCS_0, objects::TMP1075_HANDLER_TCS_1,
|
objects::TMP1075_HANDLER_TCS_1,
|
||||||
objects::TMP1075_HANDLER_PLPCDU_0, objects::TMP1075_HANDLER_PLPCDU_1,
|
objects::TMP1075_HANDLER_PLPCDU_0,
|
||||||
objects::TMP1075_HANDLER_IF_BOARD};
|
// damaged.
|
||||||
|
// objects::TMP1075_HANDLER_PLPCDU_1,
|
||||||
|
objects::TMP1075_HANDLER_IF_BOARD};
|
||||||
for (const auto& tmpId : tmpIds) {
|
for (const auto& tmpId : tmpIds) {
|
||||||
tmpTask->addComponent(tmpId, DeviceHandlerIF::PERFORM_OPERATION);
|
tmpTask->addComponent(tmpId, DeviceHandlerIF::PERFORM_OPERATION);
|
||||||
tmpTask->addComponent(tmpId, DeviceHandlerIF::SEND_WRITE);
|
tmpTask->addComponent(tmpId, DeviceHandlerIF::SEND_WRITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user