repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: show the opcode as hex instead of decimal in the log when storing a command...
[deb_libcec.git]
/
src
/
lib
/
LibCEC.cpp
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index 2f768157887c6e7fa176af4550462967916e9690..9498bc9995810d4f1e7c31c22e0dab7e2e2e1e6d 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-217,7
+217,7
@@
void CLibCEC::AddCommand(cec_logical_address source, cec_logical_address destina
if (m_commandBuffer.Push(command))
{
CStdString strDebug;
if (m_commandBuffer.Push(command))
{
CStdString strDebug;
- strDebug.Format("stored command '%
d
' in the command buffer. buffer size = %d", opcode, m_commandBuffer.Size());
+ strDebug.Format("stored command '%
2x
' in the command buffer. buffer size = %d", opcode, m_commandBuffer.Size());
AddLog(CEC_LOG_DEBUG, strDebug);
}
else
AddLog(CEC_LOG_DEBUG, strDebug);
}
else