repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rpi: don't wait for a response (and fail) when opening a connection. issue #109
[deb_libcec.git]
/
src
/
lib
/
adapter
/
RPi
/
RPiCECAdapterCommunication.cpp
diff --git
a/src/lib/adapter/RPi/RPiCECAdapterCommunication.cpp
b/src/lib/adapter/RPi/RPiCECAdapterCommunication.cpp
index 8084b780a15bf8c62756f74d217662995aaad95e..66c72c6b22a1793580354fa10b62a4ee4e74547b 100644
(file)
--- a/
src/lib/adapter/RPi/RPiCECAdapterCommunication.cpp
+++ b/
src/lib/adapter/RPi/RPiCECAdapterCommunication.cpp
@@
-275,13
+275,8
@@
bool CRPiCECAdapterCommunication::Open(uint32_t iTimeoutMs /* = CEC_DEFAULT_CONN
// register the callback
vc_cec_register_callback(((CECSERVICE_CALLBACK_T)rpi_cec_callback), (void*)this);
// register the callback
vc_cec_register_callback(((CECSERVICE_CALLBACK_T)rpi_cec_callback), (void*)this);
- // release previous LA
+ // release previous LA
, but don't wait for a response
vc_cec_release_logical_address();
vc_cec_release_logical_address();
- if (!m_logicalAddressCondition.Wait(m_mutex, m_bLogicalAddressChanged, iTimeoutMs))
- {
- LIB_CEC->AddLog(CEC_LOG_ERROR, "failed to release the previous LA");
- return false;
- }
// register LA "freeuse"
if (RegisterLogicalAddress(CECDEVICE_FREEUSE))
// register LA "freeuse"
if (RegisterLogicalAddress(CECDEVICE_FREEUSE))