This commit is contained in:
Jonas Zeunert
2020-05-28 22:20:00 +02:00
parent 7c6f444f87
commit a095e6c316
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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