cec: fix GetTimeMs() on linux. add time in ms since startup to log messages
[deb_libcec.git] / src / lib / AdapterCommunication.cpp
index 68f31a42ee9c3249aec52e25b7f64c1018122abf..8ddeaa61b3ff90863a63cd4cb26bba3240b13d5b 100644 (file)
@@ -193,7 +193,7 @@ bool CAdapterCommunication::Write(const cec_frame &data)
 
     m_controller->AddLog(CEC_LOG_DEBUG, "command sent");
 
-    CCondition::Sleep((uint32_t) data.size * (uint32_t)24 /*data*/ + (uint32_t)5 /*start bit (4.5 ms)*/ + (uint32_t)50 /* to be on the safe side */);
+    CCondition::Sleep((uint32_t) data.size * (uint32_t)24 /*data*/ + (uint32_t)5 /*start bit (4.5 ms)*/);
   }
 
   return true;