From 70d5a8043d009d3087bedcd7df21aa6d7f34c7ae Mon Sep 17 00:00:00 2001 From: Tobias Baumann Date: Mon, 23 May 2022 10:22:26 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Esrc/TactiloController/ovpCBoxAlgorithm?= =?UTF-8?q?TactiloController.cpp=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ovpCBoxAlgorithmTactiloController.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TactiloController/ovpCBoxAlgorithmTactiloController.cpp b/src/TactiloController/ovpCBoxAlgorithmTactiloController.cpp index 9e5ffe7..02a1eb5 100644 --- a/src/TactiloController/ovpCBoxAlgorithmTactiloController.cpp +++ b/src/TactiloController/ovpCBoxAlgorithmTactiloController.cpp @@ -115,13 +115,13 @@ bool CBoxAlgorithmTactiloController::process() } if(StimulationID == OVTK_StimulationId_VisualStimulationStart) { - this->getLogManager() << LogLevel_Info << "Tactilo Nr. " << m_currTactiloNr << " ON\n"; - m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr))); + this->getLogManager() << LogLevel_Debug << "Tactilo Nr. " << m_currTactiloNr << " ON\n"; + m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr-1))); } if(StimulationID == OVTK_StimulationId_VisualStimulationStop) { - this->getLogManager() << LogLevel_Info << "Tactilo Nr. " << m_currTactiloNr << " OFF\n"; - m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr))); + this->getLogManager() << LogLevel_Debug << "Tactilo Nr. " << m_currTactiloNr << " OFF\n"; + m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr-1))); } } }