repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
also try polls at least twice when it failed
[deb_libcec.git]
/
src
/
lib
/
implementations
/
CECCommandHandler.cpp
diff --git
a/src/lib/implementations/CECCommandHandler.cpp
b/src/lib/implementations/CECCommandHandler.cpp
index 1274dd2e8e17e8c997a9ffd75e45a8d6a7b7d158..174275ca2e48850fc4c9b63511ef1345949a04ac 100644
(file)
--- a/
src/lib/implementations/CECCommandHandler.cpp
+++ b/
src/lib/implementations/CECCommandHandler.cpp
@@
-1157,7
+1157,7
@@
bool CCECCommandHandler::Transmit(cec_command &command, bool bSuppressWait, bool
}
{
}
{
- uint8_t iTries(0), iMaxTries(
!command.opcode_set ? 1 :
m_iTransmitRetries + 1);
+ uint8_t iTries(0), iMaxTries(m_iTransmitRetries + 1);
while (!bReturn && ++iTries <= iMaxTries)
{
if ((bReturn = m_processor->Transmit(command, bIsReply)) == true)
while (!bReturn && ++iTries <= iMaxTries)
{
if ((bReturn = m_processor->Transmit(command, bIsReply)) == true)