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:
edab613
)
cec: re-enabled AddCommand(). debug leftover
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 1 Nov 2011 21:00:42 +0000
(22:00 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 1 Nov 2011 21:00:42 +0000
(22:00 +0100)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index e24d81246b2f5d07b4cc38103b0549b219570c49..0749e5375f00c0362d1dc9a93127f49b8cfe4976 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-300,6
+300,8
@@
bool CCECProcessor::WaitForTransmitSucceeded(uint8_t iLength, uint32_t iTimeout
if ((bError = msg.is_error()) == false)
{
+ m_controller->AddLog(bError ? CEC_LOG_WARNING : CEC_LOG_DEBUG, msg.ToString());
+
switch(msg.message())
{
case MSGCODE_COMMAND_ACCEPTED:
@@
-385,7
+387,7
@@
void CCECProcessor::SetCurrentButton(cec_user_control_code iButtonCode)
void CCECProcessor::AddCommand(const cec_command &command)
{
-
//
m_controller->AddCommand(command);
+ m_controller->AddCommand(command);
}
void CCECProcessor::AddKey(void)