works now?
This commit is contained in:
@@ -14,7 +14,7 @@ namespace items
|
||||
Item::Item(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name) :
|
||||
address(address),
|
||||
name(name),
|
||||
output_gpio_interface(output_gpio_interface)
|
||||
gpio_interface(output_gpio_interface)
|
||||
{}
|
||||
|
||||
uint8_t Item::get_address()
|
||||
@@ -24,12 +24,12 @@ uint8_t Item::get_address()
|
||||
|
||||
void Item::activate()
|
||||
{
|
||||
output_gpio_interface->activate_output_item(this);
|
||||
gpio_interface->activate(this);
|
||||
}
|
||||
|
||||
void Item::deactivate()
|
||||
{
|
||||
output_gpio_interface->deactivate_output_item(this);
|
||||
gpio_interface->deactivate(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user