some logs

This commit is contained in:
Jonas Zeunert
2018-12-19 23:28:13 +01:00
parent 423fb50096
commit bc35bcbea6
15 changed files with 57 additions and 20 deletions

View File

@@ -9,6 +9,8 @@
#include <output/SoundBoardPinController.h>
#include "utility/config.h"
namespace flippR_driver
{
namespace output
@@ -21,7 +23,9 @@ namespace detail
Sound::Sound(std::shared_ptr<SoundBoardPinController> pin_controller, uint8_t address, std::string name, std::chrono::milliseconds deactivation_time, u_int id)
:
pin_controller(std::move(pin_controller)), Item(address, std::move(name)), deactivation_time(deactivation_time), id(id)
{}
{
CLOG(INFO, OUTPUT_LOGGER) << "Created sound " << id << " with name " << name << " and address " << address;
}
void Sound::play()
{