From: Lars Op den Kamp Date: Tue, 1 Nov 2011 21:00:42 +0000 (+0100) Subject: cec: re-enabled AddCommand(). debug leftover X-Git-Tag: upstream/2.2.0~1^2~141 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0544ff5613f17de822de4efcf4c1e3ab376347bc;p=deb_libcec.git cec: re-enabled AddCommand(). debug leftover --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index e24d812..0749e53 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -300,6 +300,8 @@ bool CCECProcessor::WaitForTransmitSucceeded(uint8_t iLength, uint32_t iTimeout if ((bError = msg.is_error()) == false) { + m_controller->AddLog(bError ? CEC_LOG_WARNING : CEC_LOG_DEBUG, msg.ToString()); + switch(msg.message()) { case MSGCODE_COMMAND_ACCEPTED: @@ -385,7 +387,7 @@ void CCECProcessor::SetCurrentButton(cec_user_control_code iButtonCode) void CCECProcessor::AddCommand(const cec_command &command) { -// m_controller->AddCommand(command); + m_controller->AddCommand(command); } void CCECProcessor::AddKey(void)