repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: persist settings directly when they're changed, only persist settings that actua...
[deb_libcec.git]
/
src
/
lib
/
LibCEC.cpp
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index 0eca6a2c5e9b5eaf2cb1f8f24ed7c81bc5e0e33d..3230e684d9779aaa21e068932b9fb2be0ec0d274 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-510,7
+510,7
@@
bool CECStartBootloader(void)
{
CUSBCECAdapterCommunication comm(NULL, deviceList[0].comm);
CTimeout timeout(10000);
{
CUSBCECAdapterCommunication comm(NULL, deviceList[0].comm);
CTimeout timeout(10000);
- while (timeout.TimeLeft() > 0 && (bReturn = comm.Open(
NULL, (timeout.TimeLeft() / CEC_CONNECT_TRIES)), true
) == false)
+ while (timeout.TimeLeft() > 0 && (bReturn = comm.Open(
timeout.TimeLeft() / CEC_CONNECT_TRIES, true)
) == false)
{
comm.Close();
CEvent::Sleep(500);
{
comm.Close();
CEvent::Sleep(500);