X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FAdapterCommunication.cpp;h=caa8442c1b59185dbf37e6ab52eb0c946ca38517;hb=8d915412796290269f7efd48dc5e6802d82f5f15;hp=7f801b62d2bf8162b652f39d25621f9f99631d7c;hpb=9b223b298b838c216281f580c4dc0e62cf8d41f6;p=deb_libcec.git diff --git a/src/lib/AdapterCommunication.cpp b/src/lib/AdapterCommunication.cpp index 7f801b6..caa8442 100644 --- a/src/lib/AdapterCommunication.cpp +++ b/src/lib/AdapterCommunication.cpp @@ -290,7 +290,7 @@ bool CAdapterCommunication::Open(const char *strPort, uint16_t iBaudRate /* = 38 //clear any input bytes uint8_t buff[1024]; - while (m_port->Read(buff, sizeof(buff), 500) > 0) {} + while (m_port->Read(buff, sizeof(buff), 1000) > 0) {} if (CreateThread()) {