cec: set the retry timeout to 3 (default)
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.cpp
index 05cbf51fbef05dd0b6b1e066f0caa2023291545e..e3789c62d07b36bf9c93f92058afe273d5089aa0 100644 (file)
@@ -198,6 +198,9 @@ bool CSLCommandHandler::InitHandler(void)
     return true;
   m_bSLEnabled = true;
 
+  m_busDevice->GetProcessor()->SetStandardLineTimeout(3);
+  m_busDevice->GetProcessor()->SetRetryLineTimeout(3);
+
   CCECBusDevice *primary = m_busDevice->GetProcessor()->m_busDevices[m_busDevice->GetProcessor()->GetLogicalAddresses().primary];
   if (m_busDevice->GetLogicalAddress() != primary->GetLogicalAddress())
     primary->SetVendorId(CEC_VENDOR_LG, false);