Rename the USB_PRODUCT_ID to PRODUCT_ID as it is used for Ethernet as well

This commit is contained in:
Paul Hollinsky
2018-09-18 16:59:59 -04:00
parent 8343093708
commit b254ac991d
13 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ public:
static bool SerialStringIsNumeric(const std::string& serial);
std::string getProductName() const { return data.type; }
uint16_t getUSBProductId() const { return usbProductId; }
uint16_t getProductId() const { return productId; }
std::string getSerial() const { return data.serial; }
uint32_t getSerialNumber() const { return Device::SerialStringToNum(getSerial()); }
const neodevice_t& getNeoDevice() const { return data; }
@@ -51,7 +51,7 @@ public:
}
protected:
uint16_t usbProductId = 0;
uint16_t productId = 0;
bool online = false;
int messagePollingCallbackID = 0;
std::shared_ptr<Communication> com;