working on big refactor
This commit is contained in:
@@ -18,7 +18,7 @@ namespace flippR_driver
|
||||
namespace output
|
||||
{
|
||||
|
||||
class IOutputGPIOInterface;
|
||||
class OutputPinController;
|
||||
|
||||
namespace items
|
||||
{
|
||||
@@ -26,7 +26,7 @@ namespace items
|
||||
class Item : public IItem
|
||||
{
|
||||
public:
|
||||
Item(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name);
|
||||
Item(std::shared_ptr<OutputPinController> output_gpio_interface, uint8_t address, std::string name);
|
||||
~Item() override = default;
|
||||
|
||||
uint8_t get_address() override;
|
||||
@@ -36,7 +36,7 @@ protected:
|
||||
const uint8_t address;
|
||||
const std::string name;
|
||||
|
||||
const std::shared_ptr<IOutputGPIOInterface> gpio_interface;
|
||||
const std::shared_ptr<OutputPinController> gpio_interface;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user