From: ghuron Date: Thu, 17 Nov 2011 14:58:31 +0000 (+0400) Subject: Update src/lib/devices/CECBusDevice.cpp X-Git-Tag: upstream/2.2.0~1^2~44^2~126^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5e9b399edc5335809301688343132d6cc58107df;p=deb_libcec.git Update src/lib/devices/CECBusDevice.cpp --- diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index d4d3814..1fca4a5 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -535,7 +535,7 @@ bool CCECBusDevice::TransmitVendorID(cec_logical_address dest) AddLog(CEC_LOG_NOTICE, strLog); cec_command command; - cec_command::Format(command, m_iLogicalAddress, dest, CEC_OPCODE_GIVE_DEVICE_VENDOR_ID); + cec_command::Format(command, m_iLogicalAddress, CECDEVICE_BROADCAST, CEC_OPCODE_DEVICE_VENDOR_ID); command.parameters.PushBack((uint8_t) (((uint64_t)m_vendor >> 16) & 0xFF)); command.parameters.PushBack((uint8_t) (((uint64_t)m_vendor >> 8) & 0xFF));