From: Rudi Date: Sun, 10 Mar 2013 13:36:51 +0000 (+0100) Subject: [TDA995x] report proper firmware revision X-Git-Tag: upstream/2.2.0~1^2~4^2~32^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9d753a62fea0c49a885c5e87c52f4c17b1ae3032;p=deb_libcec.git [TDA995x] report proper firmware revision --- diff --git a/src/lib/adapter/TDA995x/TDA995xCECAdapterCommunication.cpp b/src/lib/adapter/TDA995x/TDA995xCECAdapterCommunication.cpp index 27a4f56..936f31c 100644 --- a/src/lib/adapter/TDA995x/TDA995xCECAdapterCommunication.cpp +++ b/src/lib/adapter/TDA995x/TDA995xCECAdapterCommunication.cpp @@ -217,7 +217,7 @@ uint16_t CTDA995xCECAdapterCommunication::GetFirmwareVersion(void) m_dev->Ioctl(CEC_IOCTL_GET_SW_VERSION, &vers); - return (vers.majorVersionNr * 100) + vers.minorVersionNr; + return vers.majorVersionNr; }