working on factory no motivation
This commit is contained in:
@@ -186,7 +186,7 @@ uint8_t get_sound_fire_address()
|
|||||||
auto pin_base = get_pin_base(fire_pin, port_extenders, "sound_config.json");
|
auto pin_base = get_pin_base(fire_pin, port_extenders, "sound_config.json");
|
||||||
auto address = get_value<uint8_t>("address", fire_pin, "sound_config.json");
|
auto address = get_value<uint8_t>("address", fire_pin, "sound_config.json");
|
||||||
|
|
||||||
return pin_base + address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::map<std::string, uint8_t> parse_pins_display_board(std::istream &display_config)
|
std::map<std::string, uint8_t> parse_pins_display_board(std::istream &display_config)
|
||||||
@@ -330,6 +330,12 @@ type get_value(const std::string & name, json & object, const std::string & file
|
|||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::shared_ptr<SoundBoardPinController> create_SoundBoardPinController()
|
||||||
|
{
|
||||||
|
|
||||||
|
return std::shared_ptr<SoundBoardPinController>();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,8 +18,9 @@ SoundBoardPinController::SoundBoardPinController(std::shared_ptr<std::mutex> out
|
|||||||
uint8_t fire_address,
|
uint8_t fire_address,
|
||||||
const std::vector<uint8_t> address_pins) :
|
const std::vector<uint8_t> address_pins) :
|
||||||
output_item_mutex(output_item_mutex),
|
output_item_mutex(output_item_mutex),
|
||||||
fire_address(this->fire_address),
|
pin_base(pin_base),
|
||||||
address_pins(this->address_pins)
|
fire_address(fire_address),
|
||||||
|
address_pins(address_pins)
|
||||||
{
|
{
|
||||||
CLOG(INFO, OUTPUT_LOGGER) << "Created SoundBoardPinController";
|
CLOG(INFO, OUTPUT_LOGGER) << "Created SoundBoardPinController";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user