Heater Handling #325

Merged
muellerr merged 78 commits from heater_handling into develop 2023-02-08 21:35:05 +01:00
Showing only changes of commit fddfa80f76 - Show all commits

@ -7,7 +7,7 @@
#include <catch2/catch_test_macros.hpp>
#include "../../dummies/TemperatureSensorInserter.h"
#include "dummies/TemperatureSensorInserter.h"
#include "../testEnvironment.h"
#include "mission/core/GenericFactory.h"
#include "test/gpio/DummyGpioIF.h"
@ -15,7 +15,9 @@
TEST_CASE("Thermal Controller", "[ThermalController]") {
const object_id_t THERMAL_CONTROLLER_ID = 0x123;
new TemperatureSensorInserter(objects::THERMAL_TEMP_INSERTER);
TemperatureSensorInserter::Max31865DummyMap map0;
TemperatureSensorInserter::Tmp1075DummyMap map1;
new TemperatureSensorInserter(objects::THERMAL_TEMP_INSERTER, map0, map1);
auto dummyGpioIF = new DummyGpioIF();
auto dummySwitcher = new DummyPowerSwitcher(objects::PCDU_HANDLER, 18, 0);
// TODO: Create dummy heater handler