[TDA995x] report proper firmware revision
authorRudi <r.ihle@s-t.de>
Sun, 10 Mar 2013 13:36:51 +0000 (14:36 +0100)
committerRudi <r.ihle@s-t.de>
Sun, 10 Mar 2013 13:36:51 +0000 (14:36 +0100)
src/lib/adapter/TDA995x/TDA995xCECAdapterCommunication.cpp

index 27a4f56bc930eaae18982ac76e4f031a37441aa0..936f31c3ee03cc5d85457254ea2374afc67f9211 100644 (file)
@@ -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;
 }