X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fadapter%2FUSBCECAdapterCommunication.h;h=f4fab4b4771dd6c16469727288c7c5c0543a03df;hb=efed01e1744208de67b6c54799a5c45e87d00406;hp=ee8593fb583b641c81baaad75349cc8c5dd9fe5c;hpb=6c1a84b8ace46872191383eff5c61be3ccf610d4;p=deb_libcec.git diff --git a/src/lib/adapter/USBCECAdapterCommunication.h b/src/lib/adapter/USBCECAdapterCommunication.h index ee8593f..f4fab4b 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.h +++ b/src/lib/adapter/USBCECAdapterCommunication.h @@ -69,6 +69,7 @@ namespace CEC void *Process(void); private: + bool CheckAdapter(uint32_t iTimeoutMs = 10000); bool Write(CCECAdapterMessage *data); bool Read(CCECAdapterMessage &msg, uint32_t iTimeout = 1000); bool ParseMessage(const CCECAdapterMessage &msg);