still the biggest refactor

This commit is contained in:
Jonas Zeunert
2018-12-14 02:44:53 +01:00
parent 67edde9078
commit 8e12b3f3fa
23 changed files with 137 additions and 147 deletions

View File

@@ -2,12 +2,14 @@
// Created by rhetenor on 14.12.18.
//
#ifndef FLIPPR_DRIVER_SOUNDBOARDPINCONTROLLER_H
#define FLIPPR_DRIVER_SOUNDBOARDPINCONTROLLER_H
#ifndef FLIPPR_DRIVER_OUTPUT_IMPL_SOUNDBOARDPINCONTROLLER_H
#define FLIPPR_DRIVER_OUTPUT_IMPL_SOUNDBOARDPINCONTROLLER_H
#include "output/SoundBoardPinController.h"
#include "OutputPinController.h"
#include "output/OutputPinController.h"
#include <output/items/Sound.h>
#include <map>
namespace flippR_driver
@@ -27,10 +29,10 @@ public:
void deactivate(const items::Sound &sound) override;
private:
void write_sound_address(uint8_t address);
void fire_sound(bool fire);
void write_sound_address(const uint8_t address);
void fire_sound(const bool fire);
void write_pin(uint8_t pin, bool value);
void write_pin(const uint8_t pin, const bool value);
private:
std::shared_ptr<std::mutex> output_item_mutex;