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:
f053b05
)
always poll a device when the status is unknown, and don't try to determine whether...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 8 Mar 2013 12:31:57 +0000
(13:31 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 8 Mar 2013 12:52:00 +0000
(13:52 +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 4d9c56a2f380d87ebcf774f410c903eda26d42ee..e249a0b3c45dda279bc73182ce48dce7b26b396c 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-781,7
+781,7
@@
cec_bus_device_status CCECBusDevice::GetStatus(bool bForcePoll /* = false */, bo
if (bNeedsPoll)
{
bool bPollAcked(false);
- if (bNeedsPoll
&& NeedsPoll()
)
+ if (bNeedsPoll)
bPollAcked = m_processor->PollDevice(m_iLogicalAddress);
status = bPollAcked ? CEC_DEVICE_STATUS_PRESENT : CEC_DEVICE_STATUS_NOT_PRESENT;