From: Lars Op den Kamp Date: Wed, 31 Oct 2012 10:08:59 +0000 (+0100) Subject: log what data we received exactly when we receive an response from the pi's firmware... X-Git-Tag: upstream/2.2.0~1^2~13^2~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6d50a26ba7acaf5afe7558a125084d98aa8b3c18;p=deb_libcec.git 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 --- 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)