Skip to content

Commit c21d01d

Browse files
committed
XIONE-15405: HDMI CEC Logical address update
1 parent 00db359 commit c21d01d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

HdmiCecSource/HdmiCecSource.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,7 @@ namespace WPEFramework
784784
if (WPEFramework::Exchange::IPowerManager::POWER_STATE_ON == newState)
785785
{
786786
powerState = 0;
787+
HdmiCecSource::_instance->getLogicalAddress(); // get the updated LA after wakeup
787788
}
788789
else
789790
powerState = 1;
@@ -1310,6 +1311,8 @@ namespace WPEFramework
13101311
{
13111312
logicalAddress = addr;
13121313
logicalAddressDeviceType = logicalAddrDeviceType;
1314+
if(smConnection)
1315+
smConnection->setSource(logicalAddress); //update initiator LA
13131316
}
13141317
}
13151318
catch (const std::exception& e)

0 commit comments

Comments
 (0)