cec: improved logging. fixed GetVendorId()
[deb_libcec.git] / src / lib / CECProcessor.cpp
index 17314ebfa8a2657d1d8f05b0dfc2536a9c2c0aec..f4a6da0a662b02de506097aa6b0f88b6deca4966 100644 (file)
@@ -152,6 +152,7 @@ bool CCECProcessor::TryLogicalAddress(cec_logical_address address, const char *s
     if (m_logicalAddresses.empty())
       m_busDevices[address]->m_strDeviceName = m_strDeviceName;
     m_busDevices[address]->m_powerStatus = CEC_POWER_STATUS_ON;
+    m_busDevices[address]->m_cecVersion = CEC_VERSION_1_3A;
     m_logicalAddresses.set(address);
 
     // TODO
@@ -420,7 +421,7 @@ bool CCECProcessor::Transmit(CCECAdapterMessage *output)
     if (output->transmit_timeout > 0)
     {
       if ((bReturn = WaitForTransmitSucceeded(output->size(), output->transmit_timeout)) == false)
-        m_controller->AddLog(CEC_LOG_ERROR, "did not receive ack");
+        m_controller->AddLog(CEC_LOG_DEBUG, "did not receive ack");
     }
     else
       bReturn = true;