From 2b8857687cfb4fe7bcf3e9b44abb3e4e4dce3987 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Wed, 26 Oct 2011 00:59:59 +0200 Subject: [PATCH] cec: changed log format of transmitted commands --- src/lib/CECProcessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 43535a6..ebe831c 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -184,10 +184,10 @@ void CCECProcessor::LogOutput(const cec_command &data) { CStdString txStr = "transmit "; txStr.AppendFormat(" %02x", ((uint8_t)data.initiator << 4) + (uint8_t)data.destination); - txStr.AppendFormat(" %02x", (uint8_t)data.opcode); + txStr.AppendFormat(":%02x", (uint8_t)data.opcode); for (uint8_t iPtr = 0; iPtr < data.parameters.size; iPtr++) - txStr.AppendFormat(" %02x", data.parameters[iPtr]); + txStr.AppendFormat(":%02x", data.parameters[iPtr]); m_controller->AddLog(CEC_LOG_DEBUG, txStr.c_str()); } -- 2.34.1