X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECBusDevice.cpp;h=77e646174ba5975df4748429d02ad832885881bf;hb=cf0ecd850f25db418c1127bab8927f0021abb017;hp=999270bdd93fb6666570632e7e098d949bf7249f;hpb=6685ae0785b7c20af2ddb380e3068a2550cdf978;p=deb_libcec.git diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 999270b..77e6461 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -481,7 +481,7 @@ bool CCECBusDevice::TransmitPhysicalAddress(void) cec_command::format(command, m_iLogicalAddress, CECDEVICE_BROADCAST, CEC_OPCODE_REPORT_PHYSICAL_ADDRESS); command.parameters.push_back((uint8_t) ((m_iPhysicalAddress >> 8) & 0xFF)); command.parameters.push_back((uint8_t) (m_iPhysicalAddress & 0xFF)); - command.parameters.push_back((uint8_t) (CEC_DEVICE_TYPE_PLAYBACK_DEVICE)); + command.parameters.push_back((uint8_t) (m_type)); return m_processor->Transmit(command); }