repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: set the ackmask to 0 when starting, so the earlier mask is cleared when starting...
[deb_libcec.git]
/
src
/
lib
/
CECProcessor.cpp
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index df04a237edba78ba755928757ed72c6f0590a1bb..3bfa061548c0e4b74d4811e7296790a6849b2630 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-153,6
+153,9
@@
bool CCECProcessor::OpenConnection(const char *strPort, uint16_t iBaudRate, uint
m_libcec->AddLog(CEC_LOG_NOTICE, "connection opened");
+ // always start by setting the ackmask to 0, to clear previous values
+ SetAckMask(0);
+
// mark as initialised
SetCECInitialised(true);