From: Lars Op den Kamp Date: Thu, 26 Apr 2012 15:47:32 +0000 (+0200) Subject: cec: read the build date while connecting X-Git-Tag: upstream/2.2.0~1^2~29^2^2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=baabc020b06017d6a2d74a1f7523406be445ac5d;p=deb_libcec.git cec: read the build date while connecting --- diff --git a/src/lib/adapter/USBCECAdapterCommunication.cpp b/src/lib/adapter/USBCECAdapterCommunication.cpp index df295e5..1d3df13 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.cpp +++ b/src/lib/adapter/USBCECAdapterCommunication.cpp @@ -426,6 +426,9 @@ bool CUSBCECAdapterCommunication::CheckAdapter(uint32_t iTimeoutMs /* = CEC_DEFA else bReturn = true; + /* try to read the build date */ + m_commands->RequestBuildDate(); + SetInitialised(bReturn); return bReturn; }