mir gehn die ideen aus gute nacht :-)

This commit is contained in:
Jonas Zeunert
2018-11-21 00:54:24 +01:00
parent 48899a2c6b
commit d2379868ec
2 changed files with 3 additions and 3 deletions

View File

@@ -14,10 +14,10 @@ namespace output
namespace items namespace items
{ {
Lamp::Lamp(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int i2c_address, unsigned int address, unsigned int data_pin, std::string name, bool activated) Lamp::Lamp(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int i2c_address, unsigned int address, unsigned int data_pin, std::string name)
: :
OutputItem(output_gpio_interface, address, i2c_address, data_pin, name), OutputItem(output_gpio_interface, address, i2c_address, data_pin, name),
activated(activated) activated(false)
{} {}
void Lamp::activate() void Lamp::activate()

View File

@@ -21,7 +21,7 @@ namespace items
class Lamp : public OutputItem, ILamp class Lamp : public OutputItem, ILamp
{ {
public: public:
Lamp(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int address, unsigned int i2c_address, unsigned int data_pin, std::string name, bool activated = false); Lamp(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int address, unsigned int i2c_address, unsigned int data_pin, std::string name);
virtual ~Lamp() = default; virtual ~Lamp() = default;
void activate(); void activate();