From 59c9774c4dd9ba059206e8a9b5a76e3b6a47ca59 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sat, 29 Oct 2011 00:00:54 +0200 Subject: [PATCH] cec: wait a bit longer to clear previous input --- src/lib/AdapterCommunication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.34.1