cec_command response;
cec_command::Format(response, command.destination, command.initiator, CEC_OPCODE_VENDOR_COMMAND, m_iTransmitTimeout);
response.PushBack(SL_COMMAND_CONNECT_ACCEPT);
- response.PushBack(m_busDevice->GetProcessor()->GetLogicalAddresses().primary);
+ response.PushBack((uint8_t)m_busDevice->GetProcessor()->GetLogicalAddresses().primary);
Transmit(response);
/* set deck status for the playback device */
if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
{
+ m_busDevice->GetProcessor()->SetActiveSource(m_busDevice->GetProcessor()->GetLogicalAddresses().primary);
/* LG TVs only route keypresses when the deck status is set to 0x20 */
cec_logical_addresses addr = m_busDevice->GetProcessor()->GetLogicalAddresses();
for (uint8_t iPtr = 0; iPtr < 15; iPtr++)