From: Lars Op den Kamp Date: Fri, 28 Oct 2011 22:00:54 +0000 (+0200) Subject: cec: wait a bit longer to clear previous input X-Git-Tag: upstream/2.2.0~1^2~194 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=59c9774c4dd9ba059206e8a9b5a76e3b6a47ca59;p=deb_libcec.git cec: wait a bit longer to clear previous input --- diff --git a/src/lib/AdapterCommunication.cpp b/src/lib/AdapterCommunication.cpp index f880d98..6b0e262 100644 --- a/src/lib/AdapterCommunication.cpp +++ b/src/lib/AdapterCommunication.cpp @@ -89,7 +89,7 @@ bool CAdapterCommunication::Open(const char *strPort, uint16_t iBaudRate /* = 38 //clear any input bytes uint8_t buff[1024]; - m_port->Read(buff, sizeof(buff), 50); + m_port->Read(buff, sizeof(buff), 500); if (CreateThread()) {