low high
This commit is contained in:
@@ -48,7 +48,7 @@ void EventNotifier::unregister_event_handler(std::shared_ptr<EventHandler> handl
|
|||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> event_handler_guard(event_handler_mutex);
|
std::lock_guard<std::mutex> event_handler_guard(event_handler_mutex);
|
||||||
this->event_handlers.erase(handler);
|
this->event_handlers.erase(handler);
|
||||||
CLOG(INFO, INPUT_LOGGER) << "Eventhandler at adress " << handler << " was unregistered.";
|
CLOG(INFO, INPUT_LOGGER) << "Eventhandler at address " << handler << " was unregistered.";
|
||||||
}
|
}
|
||||||
|
|
||||||
void EventNotifier::distribute_event(const Event &event)
|
void EventNotifier::distribute_event(const Event &event)
|
||||||
|
|||||||
@@ -39,12 +39,12 @@ void DisplayBoardPinController::initDisplay(const items::OutputDisplay &display)
|
|||||||
|
|
||||||
void DisplayBoardPinController::activate_displays() const
|
void DisplayBoardPinController::activate_displays() const
|
||||||
{
|
{
|
||||||
write_pin(pins_display_board.at("run"), DISPLAY_LOW);
|
write_pin(pins_display_board.at("run"), DISPLAY_HIGH);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayBoardPinController::deactivate_displays() const
|
void DisplayBoardPinController::deactivate_displays() const
|
||||||
{
|
{
|
||||||
write_pin(pins_display_board.at("run"), DISPLAY_HIGH);
|
write_pin(pins_display_board.at("run"), DISPLAY_LOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayBoardPinController::write_display(const items::OutputDisplay &display) const
|
void DisplayBoardPinController::write_display(const items::OutputDisplay &display) const
|
||||||
|
|||||||
Reference in New Issue
Block a user