repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed - some TVs send keypresses to us without making us the active source. mark...
[deb_libcec.git]
/
src
/
lib
/
CECProcessor.cpp
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 97f57a47ac67a2758850e6bdfbab5fcb08eb04ca..73c921d8120f68c0ffff4f440e6e66e2e0443b07 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-315,11
+315,11
@@
bool CCECProcessor::PollDevice(cec_logical_address iAddress)
CCECBusDevice *primary = GetPrimaryDevice();
// poll the destination, with the primary as source
if (primary)
CCECBusDevice *primary = GetPrimaryDevice();
// poll the destination, with the primary as source
if (primary)
- return primary->TransmitPoll(iAddress,
fals
e);
+ return primary->TransmitPoll(iAddress,
tru
e);
CCECBusDevice *device = m_busDevices->At(CECDEVICE_UNREGISTERED);
if (device)
CCECBusDevice *device = m_busDevices->At(CECDEVICE_UNREGISTERED);
if (device)
- return device->TransmitPoll(iAddress,
fals
e);
+ return device->TransmitPoll(iAddress,
tru
e);
return false;
}
return false;
}
@@
-701,6
+701,14
@@
bool CCECProcessor::AllocateLogicalAddresses(CCECClient* client)
return true;
}
return true;
}
+uint16_t CCECProcessor::GetPhysicalAddressFromEeprom(void)
+{
+ libcec_configuration config; config.Clear();
+ if (m_communication)
+ m_communication->GetConfiguration(config);
+ return config.iPhysicalAddress;
+}
+
bool CCECProcessor::RegisterClient(CCECClient *client)
{
if (!client)
bool CCECProcessor::RegisterClient(CCECClient *client)
{
if (!client)