cec: replaced a load of magic numbers
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index db0fbe6cc4e72f1cc3c4a915ddd3a37e111ee50e..48883bb2f3a07646d2b8894f0ad10c5493c67fe7 100644 (file)
@@ -81,7 +81,7 @@ namespace CEC
      * @param bStartListening Start a listener thread when true. False to just open a connection, read the device info, and close the connection.
      * @return True when connected, false otherwise
      */
-    virtual bool Open(uint32_t iTimeoutMs = 10000, bool bSkipChecks = false, bool bStartListening = true) = 0;
+    virtual bool Open(uint32_t iTimeoutMs = CEC_DEFAULT_CONNECT_TIMEOUT, bool bSkipChecks = false, bool bStartListening = true) = 0;
 
     /*!
      * @brief Close an open connection