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:
08d8022
)
cec: fix linux compilation after the last commit
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 29 Feb 2012 00:08:29 +0000
(
01:08
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 29 Feb 2012 00:08:29 +0000
(
01:08
+0100)
src/lib/LibCEC.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index 5b8bb3c6892ab1da82e46f394cbeac7c763f9020..b36d25425d87dd298dc51011023f202b1d49b17d 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-510,11
+510,10
@@
bool CECStartBootloader(void)
{
CUSBCECAdapterCommunication comm(NULL, deviceList[0].comm);
CTimeout timeout(10000);
- int iConnectTry(0);
while (timeout.TimeLeft() > 0 && (bReturn = comm.Open(NULL, (timeout.TimeLeft() / CEC_CONNECT_TRIES)), true) == false)
{
comm.Close();
- Sleep(500);
+
CEvent::
Sleep(500);
}
if (comm.IsOpen())
bReturn = comm.StartBootloader();