X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.cpp;h=2475e14ae28c786b8648f8288cd3b778f44eeca1;hb=199034ab9274a19316150586306e39fa26bbb73c;hp=125a23ee01f7bfa1c30c01db990d39bd7e841807;hpb=a463f9549c71ddd76661e6d23928385a3267d01d;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index 125a23e..2475e14 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -228,7 +228,7 @@ void CSLCommandHandler::TransmitVendorCommand05(const cec_logical_address iSourc cec_command response; cec_command::Format(response, iSource, iDestination, CEC_OPCODE_VENDOR_COMMAND); response.PushBack(SL_COMMAND_CONNECT_ACCEPT); - response.PushBack((uint8_t)iSource); + response.PushBack((uint8_t)m_processor->m_busDevices[iSource]->GetType()); Transmit(response, false); }