changed code structure

This commit is contained in:
Johannes Wendel
2018-11-21 17:08:20 +01:00
parent e524ade9c6
commit cd878e6741

View File

@@ -11,8 +11,12 @@ namespace output
namespace items
{
OutputItem::OutputItem(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int address, unsigned int i2c_address, unsigned int data_pin_address, std::string name)
: address(address), i2c_address(i2c_address), data_pin_address(data_pin_address), name(name), output_gpio_interface(output_gpio_interface)
OutputItem::OutputItem(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int address, unsigned int i2c_address, unsigned int data_pin_address, std::string name) :
address(address),
i2c_address(i2c_address),
data_pin_address(data_pin_address),
name(name),
output_gpio_interface(output_gpio_interface)
{}
void OutputItem::activate()