Swap PL and PS I2C #725
@ -113,7 +113,7 @@ void ObjectFactory::produce(void* args) {
|
|||||||
if (heaterHandler == nullptr) {
|
if (heaterHandler == nullptr) {
|
||||||
sif::error << "HeaterHandler could not be created" << std::endl;
|
sif::error << "HeaterHandler could not be created" << std::endl;
|
||||||
} else {
|
} else {
|
||||||
ObjectFactory::createThermalController(*heaterHandler);
|
ObjectFactory::createThermalController(*heaterHandler, true);
|
||||||
}
|
}
|
||||||
new TestTask(objects::TEST_TASK);
|
new TestTask(objects::TEST_TASK);
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,8 @@ TEST_CASE("Thermal Controller", "[ThermalController]") {
|
|||||||
|
|
||||||
// testEnvironment::initialize();
|
// testEnvironment::initialize();
|
||||||
|
|
||||||
ThermalController controller(THERMAL_CONTROLLER_ID, *heaterHandler, tcsBrdShortlyUnavailable);
|
ThermalController controller(THERMAL_CONTROLLER_ID, *heaterHandler, tcsBrdShortlyUnavailable,
|
||||||
|
true);
|
||||||
ReturnValue_t result = controller.initialize();
|
ReturnValue_t result = controller.initialize();
|
||||||
REQUIRE(result == returnvalue::OK);
|
REQUIRE(result == returnvalue::OK);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user