repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc113ac
)
cec: changed log format of transmitted commands
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 25 Oct 2011 22:59:59 +0000
(
00:59
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 25 Oct 2011 22:59:59 +0000
(
00:59
+0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 43535a62441df186117f83bec8144ae251cf3dad..ebe831c520dd124ade14cb857f81756c5755cd28 100644
(file)
--- 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());
}