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:
8355489
)
cec: fixed typo in GetStatus()
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 17 Feb 2012 10:55:05 +0000
(11:55 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 17 Feb 2012 10:55:05 +0000
(11:55 +0100)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 33d472f7acc685f0adadbaf213b51fea867ac06f..8f679c3973f317c319afb94b9726ee2d46b0d70d 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-470,7
+470,7
@@
cec_bus_device_status CCECBusDevice::GetStatus(bool bForcePoll /* = false */)
if (bNeedsPoll)
{
bool bPollAcked(false);
- if (bNeedsPoll
||
NeedsPoll())
+ if (bNeedsPoll
&&
NeedsPoll())
bPollAcked = m_processor->PollDevice(m_iLogicalAddress);
status = bPollAcked ? CEC_DEVICE_STATUS_PRESENT : CEC_DEVICE_STATUS_NOT_PRESENT;