From 6d50a26ba7acaf5afe7558a125084d98aa8b3c18 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Wed, 31 Oct 2012 11:08:59 +0100 Subject: [PATCH] log what data we received exactly when we receive an response from the pi's firmware that doesn't match any command that we sent. issue #77 --- src/lib/adapter/RPi/RPiCECAdapterMessageQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/adapter/RPi/RPiCECAdapterMessageQueue.cpp b/src/lib/adapter/RPi/RPiCECAdapterMessageQueue.cpp index 656a25d..625b2e9 100644 --- a/src/lib/adapter/RPi/RPiCECAdapterMessageQueue.cpp +++ b/src/lib/adapter/RPi/RPiCECAdapterMessageQueue.cpp @@ -121,7 +121,7 @@ void CRPiCECAdapterMessageQueue::MessageReceived(cec_opcode opcode, cec_logical_ bHandled = it->second->MessageReceived(opcode, initiator, destination, response); if (!bHandled) - LIB_CEC->AddLog(CEC_LOG_WARNING, "unhandled response received"); + LIB_CEC->AddLog(CEC_LOG_WARNING, "unhandled response received: opcode=%x initiator=%x destination=%x response=%x", (int)opcode, (int)initiator, (int)destination, response); } bool CRPiCECAdapterMessageQueue::Write(const cec_command &command, bool bIsReply) -- 2.34.1