cec: re-enabled AddCommand(). debug leftover
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 1 Nov 2011 21:00:42 +0000 (22:00 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 1 Nov 2011 21:00:42 +0000 (22:00 +0100)
src/lib/CECProcessor.cpp

index e24d81246b2f5d07b4cc38103b0549b219570c49..0749e5375f00c0362d1dc9a93127f49b8cfe4976 100644 (file)
@@ -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)