From: Lars Op den Kamp Date: Sun, 6 Nov 2011 16:34:50 +0000 (+0100) Subject: cec: increase physical address with 0x100 per device X-Git-Tag: upstream/2.2.0~1^2~94 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c0b1d868c775f3b2d8246b183a31fe34a1ad30f5;p=deb_libcec.git cec: increase physical address with 0x100 per device --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 1ac2e42..f03f09b 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -155,7 +155,7 @@ bool CCECProcessor::TryLogicalAddress(cec_logical_address address, const char *s m_logicalAddresses.set(address); // TODO - m_busDevices[address]->SetPhysicalAddress(CEC_DEFAULT_PHYSICAL_ADDRESS + iIndex); + m_busDevices[address]->SetPhysicalAddress(CEC_DEFAULT_PHYSICAL_ADDRESS + (iIndex * 0x100)); return true; }