Merge pull request #137 from warped-rudi/Pulse-Eight
authorLars Op den Kamp <opdenkamp@gmail.com>
Thu, 28 Feb 2013 12:04:26 +0000 (04:04 -0800)
committerLars Op den Kamp <opdenkamp@gmail.com>
Thu, 28 Feb 2013 12:04:26 +0000 (04:04 -0800)
Change variable names in TDA995X code path

src/lib/adapter/AdapterFactory.cpp

index dbff5c4c328f0461b420238f663577f2970070a1..42cdd0beacb7b088cd3a8935c09d9ad38d536121 100644 (file)
@@ -100,8 +100,8 @@ int8_t CAdapterFactory::DetectAdapters(cec_adapter_descriptor *deviceList, uint8
   if (iAdaptersFound < iBufSize && CTDA995xCECAdapterDetection::FindAdapter() &&
       (!strDevicePath || !strcmp(strDevicePath, CEC_TDA995x_VIRTUAL_COM)))
   {
-    snprintf(deviceList[iAdaptersFound].path, sizeof(deviceList[iAdaptersFound].strComPath), CEC_TDA995x_PATH);
-    snprintf(deviceList[iAdaptersFound].comm, sizeof(deviceList[iAdaptersFound].strComName), CEC_TDA995x_VIRTUAL_COM);
+    snprintf(deviceList[iAdaptersFound].strComPath, sizeof(deviceList[iAdaptersFound].strComPath), CEC_TDA995x_PATH);
+    snprintf(deviceList[iAdaptersFound].strComName, sizeof(deviceList[iAdaptersFound].strComName), CEC_TDA995x_VIRTUAL_COM);
     deviceList[iAdaptersFound].iVendorId = TDA995X_ADAPTER_VID;
     deviceList[iAdaptersFound].iProductId = TDA995X_ADAPTER_PID;
     deviceList[iAdaptersFound].adapterType = ADAPTERTYPE_TDA995x;