still the biggest refactor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user