hmmm dunno if this is better

This commit is contained in:
Jonas Zeunert
2018-12-11 12:30:27 +01:00
parent 3103fb77c7
commit 20774b5b1f
16 changed files with 73 additions and 70 deletions

View File

@@ -7,6 +7,8 @@
#include "Solenoid.h"
#include "output/IOutputGPIOInterface.h"
namespace flippR_driver
{
namespace output
@@ -15,8 +17,7 @@ namespace items
{
Solenoid::Solenoid(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name, std::chrono::milliseconds deactivation_time):
Item(std::move(output_gpio_interface), address, std::move(name)),
deactivation_time(deactivation_time)
DriverBoardItem(std::move(output_gpio_interface), address, std::move(name)), deactivation_time(deactivation_time)
{}
void Solenoid::triggerTask()