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:
8b0ee2c
)
cec: fixed - wait for ack while keeping a lock
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 10:31:29 +0000
(11:31 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 10:31:29 +0000
(11:31 +0100)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 277009b83a9621de3a645d78ab195a7f9f03eb34..3fb3bc299a3a5782fb2699293a4b982b12ad5e60 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-223,17
+223,17
@@
bool CCECProcessor::Transmit(const cec_command &data)
return bReturn;
}
}
return bReturn;
}
}
- }
- if (data.ack_timeout > 0)
- {
- bool bError(false);
- if ((bReturn = WaitForAck(&bError, output->size(), data.ack_timeout)) == false)
- m_controller->AddLog(CEC_LOG_ERROR, "did not receive ack");
- }
- else
- {
- bReturn = true;
+ if (data.ack_timeout > 0)
+ {
+ bool bError(false);
+ if ((bReturn = WaitForAck(&bError, output->size(), data.ack_timeout)) == false)
+ m_controller->AddLog(CEC_LOG_ERROR, "did not receive ack");
+ }
+ else
+ {
+ bReturn = true;
+ }
}
return bReturn;
}
return bReturn;