This commit is contained in:
2024-01-17 18:39:53 +03:00
parent 851f101470
commit 3652705784

View File

@@ -441,8 +441,8 @@ PICout operator<<(PICout s, const PIUSB::Endpoint & v) {
PIString PIUSB::constructFullPathDevice() const {
PIString ret;
ret << PIString::fromNumber(vendorID(), 16).toLowerCase() << ":" << PIString::fromNumber(productID(), 16).toLowerCase() << ":"
<< deviceNumber() << ":" << endpointRead().address << ":" << endpointWrite().address;
ret = PIString::fromNumber(vendorID(), 16).toLowerCase() + ":" + PIString::fromNumber(productID(), 16).toLowerCase() + ":" +
deviceNumber() + ":" + endpointRead().address + ":" + endpointWrite().address;
return ret;
}