Pārlūkot izejas kodu

Try to fix problems with opening the CEC adapter

This is not really documented, but it seems like we need to use ComName
instead of ComPort to Open()
Tobias Hieta 9 gadi atpakaļ
vecāks
revīzija
4303b24057
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/input/InputCEC.cpp

+ 1 - 1
src/input/InputCEC.cpp

@@ -150,7 +150,7 @@ bool InputCECWorker::openAdapter()
     QLOG_INFO() << "libCEC found" << devicesCount << "CEC adapters.";
 
     // open first adapter
-    m_adapterPort = devices[0].strComPath;
+    m_adapterPort = devices[0].strComName;
     if (m_adapter->Open(m_adapterPort.toStdString().c_str()))
     {
       QLOG_INFO() << "Device " << devices[0].strComName << "was successfully openned";