no extenders for items

This commit is contained in:
Johannes Wendel
2020-01-15 18:04:13 +01:00
parent ea75d6f248
commit f25a98a3d3
3 changed files with 4 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ LampFactory::LampFactory(nlohmann::json &object, std::shared_ptr<DriverBoardPinC
ItemFactory{object, pin_controller}
{
this->set_address_pins();
/* this->set_mux_pins();
this->set_mux_pins();
auto controller = std::dynamic_pointer_cast<detail::DriverBoardPinController>(this->pin_controller);
@@ -27,7 +27,7 @@ LampFactory::LampFactory(nlohmann::json &object, std::shared_ptr<DriverBoardPinC
controller->set_data_pin(data_pin);
auto run_pin = this->get_address_pin(this->object.at(config_path::run_pin));
controller->set_run_pin(run_pin);*/
controller->set_run_pin(run_pin);
}
std::map<std::string, std::shared_ptr<items::Lamp>> LampFactory::getItemMap()